Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-07-25 14:05:42


Peter Dimov wrote:
>> Likewise returning a C-array by value is not legal.
>
> Sorry.
>
> What makes you think that Boost.Array is not intended to be
> copy-constructable or assignable?

'cos I wasn't paying enough attention that's why :-)

It is assignable, just not copy-constructable (or at least not without a
core change making arrays copy-constructable). I wasn't expecting
copy-construction and assignment to behave differently and it confused me.
Happens easily :-)

John.


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