#include <stlsoft/util/placement_aid.hpp>
T | The type of the object created by placement new |
Public Types | |
typedef T | value_type |
The value type. | |
typedef placement_aid< T > | class_type |
The type of the current parameterisation. | |
Public Member Functions | |
placement_aid (void *pv) | |
Create an instance of the value_type at the given location. | |
~placement_aid () throw () | |
In-place destroy the object instance. | |
operator T & () | |
Implicit conversion operator to a reference to the in-place object instance. | |
operator T const & () const | |
Implicit conversion operator to a non-mutable (const) reference to the in-place object instance. | |
T * | operator & () |
Address-of operator, providing pointer access to the in-place object instance. | |
T const * | operator & () const |
Address-of operator, providing non-mutable (const) pointer access to the in-place object instance. |
typedef T value_type |
The value type.
typedef placement_aid<T> class_type |
The type of the current parameterisation.
placement_aid | ( | void * | pv | ) | [inline, explicit] |
Create an instance of the value_type
at the given location.
pv | The location at which to in-place construct the object instance |
~placement_aid | ( | ) | throw () [inline] |
In-place destroy the object instance.
operator T & | ( | ) | [inline] |
Implicit conversion operator to a reference to the in-place object instance.
operator T const & | ( | ) | const [inline] |
Implicit conversion operator to a non-mutable (const) reference to the in-place object instance.
T* operator & | ( | ) | [inline] |
Address-of operator, providing pointer access to the in-place object instance.
T const* operator & | ( | ) | const [inline] |
Address-of operator, providing non-mutable (const) pointer access to the in-place object instance.