|
Boost : |
From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-05-07 08:12:19
Thorsten,
Now, when we got rid of ptr_iterators, we don't need indirect_fun, do we?
At least as part of ptr_container library?
P.S. About copyability: may be then provide some cloning mechanism like:
ptr_vector<int> a;
ptr_vector<int> b(a.clone());
b = a.clone();
Where ptr_vector<T>::clone doesn't create clone immeadiately, but returns some
object that refers to this, and ptr_vector<T> has ctor and assignment operator
taking that object.
Thoughts?
-- Pavel Chikulaev
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk