24 Jul
2006
24 Jul
'06
3:04 p.m.
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.