Johan Råde wrote:
I think the Rationale section in the array documentation should be updated, to include what we learnt during this discussion. Something like:
"The array class does not have a non-template assignment operator. If one were addded, the array class would still be an aggregate, and could still be initialized with a double brace enclosed initializer list. However, the array class would not be a POD anynmore, and such initialization would not be done statically."
--Johan Råde
The following might be better:
"The array class is designed to be an aggregate and a POD type.
Being an aggregate means that an array can be initialized with an
initializer list as follows:
boost::array