#include <no_destruct.h>
Public Member Functions | |
T * | get () |
const T * | get () const |
template<typename... Args> | |
NoDestruct (Args &&... args) | |
NoDestruct (const NoDestruct &)=delete | |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
NoDestruct & | operator= (const NoDestruct &)=delete |
~NoDestruct ()=default | |
Private Attributes | |
std::aligned_storage< sizeof(T), alignof(T)>::type | space_ |
Definition at line 50 of file no_destruct.h.
|
inlineexplicit |
Definition at line 53 of file no_destruct.h.
|
delete |
|
default |
|
inline |
Definition at line 67 of file no_destruct.h.
|
inline |
Definition at line 68 of file no_destruct.h.
|
inline |
Definition at line 64 of file no_destruct.h.
|
inline |
Definition at line 65 of file no_destruct.h.
|
inline |
Definition at line 62 of file no_destruct.h.
|
inline |
Definition at line 63 of file no_destruct.h.
|
delete |
|
private |
Definition at line 71 of file no_destruct.h.