Is an array in C++ always a POD?
We know that an array is always an aggregate, regardless of whether the underlying type is an aggregate.
(See here)
But is an array always a POD, regardless of whether its elements are non-POD?
Is an array in C++ always a POD?
We know that an array is always an aggregate, regardless of whether the underlying type is an aggregate.
(See here)
But is an array always a POD, regardless of whether its elements are non-POD?