Default initialization of std::array?
With standard C-array the syntax T x[N]; does not default-initialize the
elements of the array. With C++11 std::array, do I have the guarantee that
the syntax std::array<T, N> x; will default-initialize all the elements of
the array ?
No comments:
Post a Comment