Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2006-08-08 07:54:13


Johan Råde wrote:

>> That one is problematic as it really would make the array a non-POD so
>> initialisation would occur during the dynamic phase rather than the static
>> phase. IMO that would be a deal braker :-(
>>
>> John.

I agree with John. My proposed patch is dead.

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net