Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2006-07-24 11:04:43


Peter Dimov wrote:
> John Maddock wrote:
>
>> Boost.Array is not intended to be either copy-constructable or
>> assignable, so instantiating a function returning an array-by-value
>> *should* fail to compile.
>
> What makes you think so?

boost::array has a templatized assignment operator,
so it is clearly intended to be assignable.

All I need is an ordinary non-templatized assignment operator as well,
and then my code compiles with VC++ 7.1.


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