2 // This file is (C) 2002-2003 Royce Mitchell III
3 // and released under the LGPL & BSD licenses
12 typedef T element_type
;
14 explicit auto_ptr(T
*p
= 0) : _p(p
)
18 auto_ptr(auto_ptr
<T
>& rhs
) : _p(rhs
.release())
22 auto_ptr
<T
>& operator=(auto_ptr
<T
>& rhs
)
32 auto_ptr
<T
>& set ( auto_ptr
<T
>& rhs
)
56 T
& operator[] ( int i
)