|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-02-04 11:15:06
On Sat, 2 Feb 2002, Mark Rodgers wrote:
>
> - Copy and assignment have auto_ptr sematics, i.e. use an
> auto_vector_ref and clear the source object. I've
> implemented this using swap, so passing and returning
> auto_vectors by value is relatively cheap.
This bother me a bit. From what I understand, all the other properties of
auto_vector would still allow it to conform to the Standard Container
requirements, but these copy and assignment semantics would break that...
Cheers,
Jeremy
----------------------------------------------------------------------
Jeremy Siek http://www.osl.iu.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk