#include <ArrDelAdapter.h>
Collaboration diagram for ArrDelAdapter< T >:
Public Member Functions | |
ArrDelAdapter (T *p) | |
ArrDelAdapter (const ArrDelAdapter< T > &var) | |
~ArrDelAdapter () | |
Private Attributes | |
T * | p_ |
Definition at line 15 of file ArrDelAdapter.h.
ArrDelAdapter< T >::ArrDelAdapter | ( | T * | p | ) | [inline] |
ArrDelAdapter< T >::ArrDelAdapter | ( | const ArrDelAdapter< T > & | var | ) | [inline] |
Definition at line 18 of file ArrDelAdapter.h.
References ArrDelAdapter< T >::p_.
00019 : p_(var.p_) { 00020 // copier gets sole handle to ptr 00021 const_cast<ArrDelAdapter<T>&>(var).p_ = 0; 00022 }
ArrDelAdapter< T >::~ArrDelAdapter | ( | ) | [inline] |
Definition at line 23 of file ArrDelAdapter.h.
References ArrDelAdapter< T >::p_.
00023 { 00024 delete [] p_; 00025 }
T* ArrDelAdapter< T >::p_ [private] |
Definition at line 28 of file ArrDelAdapter.h.
Referenced by ArrDelAdapter< T >::ArrDelAdapter(), and ArrDelAdapter< T >::~ArrDelAdapter().