為了讓用戶自訂型別(user-defined type)參與建構常數表示式,建構式也可以用 constexpr 來宣告。與 constexpr 函式一樣, constexpr 建構式必須在該編譯單元內使用 ...
確定! 回上一頁