00001 00006 /*----------------------------------------------------------------------------*/ 00007 /* C Tool Box: Designed and implemented by: */ 00008 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00009 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00010 /* Email: W.F.J.Mueller@gsi.de */ 00011 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00012 /*----------------------------------------------------------------------------*/ 00013 00070 //------------------------------------------+----------------------------------- 00072 00076 template <class T> 00077 inline CTBretObj<T>::CTBretObj() 00078 {} 00079 00080 //------------------------------------------+----------------------------------- 00082 00083 template <class T> 00084 inline CTBretObj<T>::CTBretObj(CTBretObj<T>& rhs) 00085 : T(rhs,true) 00086 {} 00087 00088 //------------------------------------------+----------------------------------- 00090 00091 template <class T> 00092 inline CTBretObj<T>::CTBretObj(T& rhs) 00093 : T(rhs,true) 00094 {} 00095 00096 //------------------------------------------+----------------------------------- 00098 00099 template <class T> 00100 inline CTBretObj<T>& CTBretObj<T>::operator=(CTBretObj<T>& rhs) 00101 { 00102 Grab(rhs); 00103 return *this; 00104 } 00105 00106 //------------------------------------------+----------------------------------- 00108 00109 template <class T> 00110 inline CTBretObj<T>& CTBretObj<T>::operator=(T& rhs) 00111 { 00112 Grab(rhs); 00113 return *this; 00114 }