Boost logo

Boost :

From: mike_at_[hidden]
Date: 2002-02-02 18:39:28


On 2 Feb 2002 at 21:28, Mark Rodgers wrote:

> - Deletes its contained pointers on destruction.
> - Deletes erased elements in erase.
> - 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.
[...]
> Comments anyone?

Add functions setOwner(), isOwner() or similar to activate this behavior, sometimes you
need elements in more then one container - and only one is the main.

It would be very interesting to set up a generic event if an element is removed in the
main container.

cu
Mike

----------------------------------
Mike Hummel (jesus_at_[hidden])
http://www.kreuzigung.de

Don't be afraid !!! It's just the end ...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk