// Auto_Ptr.cpp // $Id$ #if !defined (ACE_AUTO_PTR_C) #define ACE_AUTO_PTR_C #define ACE_BUILD_DLL #include "ace/Auto_Ptr.h" #if !defined (__ACE_INLINE__) #include "ace/Auto_Ptr.i" #endif /* __ACE_INLINE__ */ ACE_ALLOC_HOOK_DEFINE(auto_ptr) template void auto_ptr::dump (void) const { ACE_TRACE ("auto_ptr::dump"); } template void auto_ptr::remove (X *& x) { ACE_TRACE ("auto_ptr::remove"); X *tp = x; x = 0; delete tp; } ACE_ALLOC_HOOK_DEFINE(auto_array_ptr) template void auto_array_ptr::dump (void) const { ACE_TRACE ("auto_array_ptr::dump"); } template void auto_array_ptr::remove (X *& x) { ACE_TRACE ("auto_array_ptr::remove"); X *tp = x; x = 0; delete [] tp; } #endif /* ACE_AUTO_PTR_C */