C
Chris Forone
hello group,
why can i initialize a local std::array in this way:
std::array<float, 3> locvar{1.0f, 2.0f, 3.0f};
but as member "only" in this way:
std::array<float, 3> member{{1.0f, 2.0f, 3.0f}};
i use mingw g++ 4.8.0 (32 bit).
thanks a lot, chris
why can i initialize a local std::array in this way:
std::array<float, 3> locvar{1.0f, 2.0f, 3.0f};
but as member "only" in this way:
std::array<float, 3> member{{1.0f, 2.0f, 3.0f}};
i use mingw g++ 4.8.0 (32 bit).
thanks a lot, chris