Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2002-02-25 09:34:32


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, February 25, 2002 4:20 AM
Subject: Re: [boost] auto_sequence (was auto_vector)

> From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
> > Please let me know if you think this, or something close to it,
> > is worthy of documentation and submission.
>
> What are the main differences between auto_vector<T> and vector<
> shared_ptr<T> > ?

'vector<shared_ptr<T> >' does not enforce strict ownership, uses much
more memory, and is slightly slower on operations that copy the
underlying objects.

--
Rainer Deyke | root_at_[hidden] | http://rainerdeyke.com

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