Just switched to C++11 from C++03, and I was wondering, is the following defined to always zero initialize the array data for all elements?
data
template<size_t COUNT> class Test { public: uint32 data[COUNT] = {}; };
Aucun commentaire:
Enregistrer un commentaire