From bbd109640d28074f80c3971b2b6d1883e9c6ddf4 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 16 Aug 1997 15:10:18 +0000 Subject: *** empty log message *** --- ace/Auto_Ptr.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'ace/Auto_Ptr.h') diff --git a/ace/Auto_Ptr.h b/ace/Auto_Ptr.h index 6565f5a767b..fefc955421b 100644 --- a/ace/Auto_Ptr.h +++ b/ace/Auto_Ptr.h @@ -21,10 +21,12 @@ #include "ace/ACE.h" +#if !defined (ACE_HAS_STANDARD_CPP_LIBRARY) + template class ACE_Auto_Basic_Ptr // = TITLE - // Implements the draft C++ standard ACE_Auto_Ptr abstraction. + // Implements the draft C++ standard auto_ptr abstraction. // This class allows one to work on non-object (basic) types { public: @@ -53,22 +55,23 @@ protected: }; template -class ACE_Auto_Ptr : public ACE_Auto_Basic_Ptr +class auto_ptr : public ACE_Auto_Basic_Ptr // = TITLE - // Implements the draft C++ standard ACE_Auto_Ptr abstraction. + // Implements the draft C++ standard auto_ptr abstraction. { public: // = Initialization and termination methods - ACE_Auto_Ptr (X *p = 0); + auto_ptr (X *p = 0); X *operator-> () const; }; +#endif /* ACE_HAS_STANDARD_CPP_LIBRARY */ template class ACE_Auto_Basic_Array_Ptr // = TITLE - // Implements an extension to the draft C++ standard ACE_Auto_Ptr + // Implements an extension to the draft C++ standard auto_ptr // abstraction. This class allows one to work on non-object // (basic) types { @@ -102,7 +105,7 @@ protected: template class ACE_Auto_Array_Ptr : public ACE_Auto_Basic_Array_Ptr // = TITLE - // Implements an extension to the draft C++ standard ACE_Auto_Ptr + // Implements an extension to the draft C++ standard auto_ptr // abstraction. { public: -- cgit v1.2.1