
John Maddock wrote:
Johan Råde wrote:
John Maddock wrote:
Personally I would add the template-assignment op for BOOST_MSVC < 1400 only, would we gain anything from adding it for other compilers? It opens up an assignment that wasn't there before, so I guess it means array
becomes assignable to array
which may or may not be a good idea depending on your POV. John. array already has a template assignment op. array already is assignable to array The question is, should we add a non-template assignment op for VC++ 7.1, as a compiler bug workaround.
Oh, Darn. Sorry for the confusion.
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.
So an array class with a non-template assignment op is an aggregate but is not a POD. This language sometimes drives me nuts ;-) --Johan