auto_resource< X, Traits > Class Template Reference The template class
Detailed Descriptiontemplate<typename X, class Traits = ptr_traits<X>>
|
typedef traits_type::element_type element_type |
Reimplemented in auto_ptr< X, Traits >.
Definition at line 289 of file memory.hpp.
typedef traits_type::pointer_type pointer_type |
Reimplemented in auto_ptr< X, Traits >.
Definition at line 290 of file memory.hpp.
typedef Traits traits_type |
Reimplemented in auto_ptr< X, Traits >.
Definition at line 288 of file memory.hpp.
Constructor & Destructor Documentation
auto_resource | ( | pointer_type | p = 0 | ) | throw () [explicit] |
Definition at line 447 of file memory.hpp.
auto_resource | ( | auto_resource< X, Traits > & | x | ) | throw () |
Definition at line 452 of file memory.hpp.
auto_resource | ( | const auto_resource< Y, typename traits_type::template rebind< Y >::other > & | x | ) | throw () |
Definition at line 458 of file memory.hpp.
~auto_resource | ( | ) | throw () |
Definition at line 479 of file memory.hpp.
Member Function Documentation
auto_resource< X, Traits >::pointer_type get | ( | ) | const throw () |
Definition at line 494 of file memory.hpp.
operator bool | ( | ) | const throw () |
Definition at line 312 of file memory.hpp.
bool operator! | ( | ) | const throw () |
Definition at line 520 of file memory.hpp.
auto_resource< X, Traits > & operator= | ( | const clear_type * | ) | throw () |
Definition at line 485 of file memory.hpp.
auto_resource< X, Traits > & operator= | ( | auto_resource< X, Traits > & | x | ) | throw () |
Definition at line 463 of file memory.hpp.
auto_resource< X, Traits > & operator= | ( | auto_resource< Y, typename traits_type::template rebind< Y >::other > | x | ) | throw () |
Definition at line 471 of file memory.hpp.
auto_resource< X, Traits >::pointer_type release | ( | ) | throw () |
Definition at line 500 of file memory.hpp.
void reset | ( | pointer_type | p = 0 | ) | throw () |
Definition at line 508 of file memory.hpp.