23 Aug
2005
23 Aug
'05
6:04 p.m.
"Felipe Magno de Almeida"
On 8/23/05, Thomas Matelich
wrote: I'm looking at ptr_vector to replace our wrapper around vector
. How do I correctly write the following: ptr_vector<T> a; ptr_vector<T> b; ... b.push_back(a.begin());
b.push_back(new T(*a.begin()));
b.push_back( new T( a.front() ) ); -Thorsten