Re: [Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread Benjamin Kirk
>> Is there any reason why the AutoPtr class does not have a copy >> constructor? I would like to create an stl vector of AutoPtr >> >> vector< AutoPtr > > local_solution_history; >> >> to store the entire solution history. > > Unfortunately you can never ever have a container of AutoPtrs. Yo

Re: [Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread John Peterson
On Thu, Sep 18, 2008 at 5:38 PM, David Fuentes <[EMAIL PROTECTED]> wrote: > > > Is there any reason why the AutoPtr class does not have a copy > constructor? I would like to create an stl vector of AutoPtr > > vector< AutoPtr > > local_solution_history; > > to store the entire solution history.

[Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread David Fuentes
Is there any reason why the AutoPtr class does not have a copy constructor? I would like to create an stl vector of AutoPtr vector< AutoPtr > > local_solution_history; to store the entire solution history. thanks, df --