[ROOT] RE:patch to fix auto_ptr in ROOT 2.24.05 an

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Wed May 24 2000 - 14:07:32 MEST


Hello Matt,

Thank you very much for the patck. I'll try it.

Meanwhile, I reviewed auto_ptr implementation. I copied it from 
g++ 2.7.  It looks like the standard document suggests quite different
implementation. I wonder what I should do.  auto_ptr::reset is missing
in all the compilers I have (egcs,VC++,BC++).  Does anyone know status
of auto_ptr definition?

Thank you
Masaharu Goto


>Here is a patch which will fix the missing "reset" method in the
>standard C++ auto_ptr class template.  To apply the patch, feed this
>e-mail to the patch program after you cd to $ROOTSYS/cint.  For example:
>
>  $ cd $ROOTSYS/cint
>  $ patch -p1 -b < ../memory_auto_ptr.patch 
>
>Regards, Matt



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:26 MET