auto_ptr< X, Traits > Class Template Reference
Detailed Descriptiontemplate<typename X, class Traits = ptr_traits<X*>>
|
typedef traits_type::element_type element_type |
Definition at line 405 of file memory.hpp.
§ pointer_type
typedef traits_type::pointer_type pointer_type |
Definition at line 406 of file memory.hpp.
§ traits_type
typedef Traits traits_type |
Definition at line 404 of file memory.hpp.
Constructor & Destructor Documentation
§ auto_ptr() [1/5]
|
explicit |
Definition at line 529 of file memory.hpp.
§ auto_ptr() [2/5]
Definition at line 534 of file memory.hpp.
§ auto_ptr() [3/5]
Definition at line 540 of file memory.hpp.
§ auto_ptr() [4/5]
auto_ptr | ( | std::auto_ptr< X > | r | ) | |
throw | ( | ||||
) |
Definition at line 572 of file memory.hpp.
§ auto_ptr() [5/5]
auto_ptr | ( | std::auto_ptr< Y > | r | ) | |
throw | ( | ||||
) |
Definition at line 578 of file memory.hpp.
Member Function Documentation
§ operator std::auto_ptr< X >()
operator std::auto_ptr< X > | ( | ) | ||
throw | ( | |||
) |
Definition at line 426 of file memory.hpp.
§ operator*()
auto_ptr< X, Traits >::element_type & operator* | ( | ) | const | |
throw | ( | |||
) |
Definition at line 601 of file memory.hpp.
§ operator->()
auto_ptr< X, Traits >::pointer_type operator-> | ( | ) | const | |
throw | ( | |||
) |
Definition at line 608 of file memory.hpp.
§ operator=() [1/7]
Definition at line 545 of file memory.hpp.
§ operator=() [2/7]
§ operator=() [3/7]
auto_ptr< X, Traits > & operator= | ( | const clear_type * | ) | ||
throw | ( | ||||
) |
Definition at line 563 of file memory.hpp.
§ operator=() [4/7]
auto_ptr< X, Traits > & operator= | ( | std::auto_ptr< X > | r | ) | |
throw | ( | ||||
) |
Definition at line 583 of file memory.hpp.
§ operator=() [5/7]
auto_ptr& operator= | ( | std::auto_ptr< Y > | ) | ||
throw | ( | ||||
) |
§ operator=() [6/7]
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.
§ operator=() [7/7]
auto_ptr<X, Traits>& operator= | ( | std::auto_ptr< Y > | r | ) | |
throw | ( | ||||
) |
Definition at line 591 of file memory.hpp.
§ operator[]()
auto_ptr< X, Traits >::element_type & operator[] | ( | std::size_t | index | ) | const |
throw | ( | ||||
) |
Definition at line 615 of file memory.hpp.