From 9f2149d5bf03b97b7e47326e64716455b8bb2145 Mon Sep 17 00:00:00 2001 From: irfan Date: Sat, 17 Apr 1999 03:12:19 +0000 Subject: *** empty log message *** --- ace/Auto_Ptr.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'ace/Auto_Ptr.h') diff --git a/ace/Auto_Ptr.h b/ace/Auto_Ptr.h index e6639638e2d..fdf00e2cdbc 100644 --- a/ace/Auto_Ptr.h +++ b/ace/Auto_Ptr.h @@ -34,14 +34,15 @@ class ACE_Auto_Basic_Ptr public: // = Initialization and termination methods /* explicit */ ACE_Auto_Basic_Ptr (X *p = 0); - ACE_Auto_Basic_Ptr (const ACE_Auto_Basic_Ptr &ap); - ACE_Auto_Basic_Ptr &operator= (const ACE_Auto_Basic_Ptr &rhs); + ACE_Auto_Basic_Ptr (ACE_Auto_Basic_Ptr &ap); + ACE_Auto_Basic_Ptr &operator= (ACE_Auto_Basic_Ptr &rhs); ~ACE_Auto_Basic_Ptr (void); // = Accessor methods. X &operator *() const; X *get (void) const; - X *release (void) const; + X *release (void); + void reset (X *p = 0); void dump (void) const; // Dump the state of an object. @@ -87,15 +88,16 @@ class ACE_Auto_Basic_Array_Ptr public: // = Initialization and termination methods. /* explicit */ ACE_Auto_Basic_Array_Ptr (X *p = 0); - ACE_Auto_Basic_Array_Ptr (const ACE_Auto_Basic_Array_Ptr &ap); - ACE_Auto_Basic_Array_Ptr &operator= (const ACE_Auto_Basic_Array_Ptr &rhs); + ACE_Auto_Basic_Array_Ptr (ACE_Auto_Basic_Array_Ptr &ap); + ACE_Auto_Basic_Array_Ptr &operator= (ACE_Auto_Basic_Array_Ptr &rhs); ~ACE_Auto_Basic_Array_Ptr (void); // = Accessor methods. X &operator* () const; X &operator[] (int i) const; X *get (void) const; - X *release (void) const; + X *release (void); + void reset (X *p = 0); void dump (void) const; // Dump the state of an object. -- cgit v1.2.1