This is the mail archive of the
libstdc++-cvs@sourceware.cygnus.com
mailing list for the libstdc++ project.
egcs/libstdc++-v3 ChangeLog bits/std_memory.h
- To: gcc-cvs at gcc dot gnu dot org, libstdc++-cvs at sourceware dot cygnus dot com
- Subject: egcs/libstdc++-v3 ChangeLog bits/std_memory.h
- From: bkoz at gcc dot gnu dot org
- Date: 29 Jun 2000 21:07:05 -0000
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: bkoz@sourceware.cygnus.com 00/06/29 14:07:04
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/bits: std_memory.h
Log message:
2000-06-29 Branko Cibej <branko.cibej@hermes.si>
* bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
_GLIBCPP_RESOLVE_LIB_DEFECTS.
(auto_ptr): _M_ptr changed to void*.
(suto_ptr::get): Cast _M_ptr to element type.
(auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
(auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
(auto_ptr::operator*): Likewise.
(auto_ptr::operator->): Likewise.
(auto_ptr::release): Likewise.
(auto_ptr::reset): Likewise.
(auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
(auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.86&r2=1.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libstdc++-v3/bits/std_memory.h.diff?cvsroot=gcc&r1=1.2&r2=1.3