Suppose I have a class template like this:
template<typename T, size_t N>
struct S {
std::array<T,N> a;
};
Is there a default member initializer I can place on a,
template<typename T, size_t N>
struct S {
std::array<T,N> a = ???;
};
such that no matter what T is, the elements of a will always be initialized (never have indeterminant value)? I.e., even if T is a primitive type like int.