How dos one construct an std::array in a constructor initializer sequence?
I've tried all permutations of () and {} I could think of...Code:myClass { public: myClass() : array_of_2_ints (1, 2) //<- not working... { } private: ::std::array<int, 2> array_of_2_ints }




Reply With Quote