#include <stlsoft/memory/auto_destructor.hpp>
T | The value type |
Types | |
typedef T | value_type |
The value type. | |
typedef return_value_destructor< T > | class_type |
The current parameterisation of the type. | |
typedef auto_destructor< T > | auto_type |
The auto type. | |
Public Member Functions | |
Construction | |
return_value_destructor (auto_type &rhs) | |
Construct from an auto_destructor<T>, transferring the managed instance from it. | |
return_value_destructor (class_type &rhs) | |
Move constructor. | |
return_value_destructor (proxy_type rhs) | |
Proxy move constructor. | |
~return_value_destructor () throw () | |
Destroys the managed instance. | |
operator proxy_type () | |
Proxy conversion operator. |
typedef T value_type |
The value type.
typedef return_value_destructor<T> class_type |
The current parameterisation of the type.
typedef auto_destructor<T> auto_type |
The auto type.
return_value_destructor | ( | auto_type & | rhs | ) | [inline] |
Construct from an auto_destructor<T>, transferring the managed instance from it.
return_value_destructor | ( | class_type & | rhs | ) | [inline] |
Move constructor.
return_value_destructor | ( | proxy_type | rhs | ) | [inline] |
Proxy move constructor.
~return_value_destructor | ( | ) | throw () [inline] |
operator proxy_type | ( | ) | [inline] |
Proxy conversion operator.