auto_ptr< X, Traits > Class Template Reference The
Detailed Descriptiontemplate<typename X, class Traits = ptr_traits<X*>>
|
typedef traits_type::element_type element_type |
Reimplemented from auto_resource< X *, Traits >.
Definition at line 405 of file memory.hpp.
typedef traits_type::pointer_type pointer_type |
Reimplemented from auto_resource< X *, Traits >.
Definition at line 406 of file memory.hpp.
typedef Traits traits_type |
Reimplemented from auto_resource< X *, Traits >.
Definition at line 404 of file memory.hpp.
Constructor & Destructor Documentation
auto_ptr | ( | pointer_type | p = 0 | ) | throw () [explicit] |
Definition at line 529 of file memory.hpp.
Definition at line 534 of file memory.hpp.
Definition at line 540 of file memory.hpp.
auto_ptr | ( | std::auto_ptr< X > | r | ) | throw () |
Definition at line 572 of file memory.hpp.
auto_ptr | ( | std::auto_ptr< Y > | r | ) | throw () |
Definition at line 578 of file memory.hpp.
Member Function Documentation
operator std::auto_ptr< X > | ( | ) | throw () |
Definition at line 426 of file memory.hpp.
auto_ptr< X, Traits >::element_type & operator* | ( | ) | const throw () |
Definition at line 601 of file memory.hpp.
auto_ptr< X, Traits >::pointer_type operator-> | ( | ) | const throw () |
Definition at line 608 of file memory.hpp.
Definition at line 545 of file memory.hpp.
auto_ptr< X, Traits > & operator= | ( | std::auto_ptr< X > | r | ) | throw () |
Definition at line 583 of file memory.hpp.
auto_ptr< X, Traits > & operator= | ( | std::auto_ptr< Y > | r | ) | throw () |
Definition at line 591 of file memory.hpp.
auto_ptr< X, Traits > & operator= | ( | auto_ptr< Y, typename traits_type::template rebind< Y * >::other > | r | ) | throw () |
Definition at line 553 of file memory.hpp.
auto_ptr< X, Traits > & operator= | ( | const clear_type * | ) | throw () |
Definition at line 563 of file memory.hpp.
auto_ptr< X, Traits >::element_type & operator[] | ( | std::size_t | index | ) | const throw () |
Definition at line 615 of file memory.hpp.