Provides lazy construction of objects with automatic storage. More...
Public Member Functions | |
template<typename... U> | |
void | construct (U &&... u) |
void | destroy (void) noexcept |
T const & | get (void) const noexcept |
T & | get (void) noexcept |
T | moveout (void) |
Provides lazy construction of objects with automatic storage.
T | Object type. |
Align | Object alignment. |
This struct is a POD and while it reserves stack space for the object, the object is initialized only when it is explicitly required to.