TRLC Platform Library
1.0.0
Header-only C++ library for compile-time platform detection and abstraction
|
#include <trlc/platform/typeinfo.hpp>
Public Member Functions | |
void * | get () |
Get a pointer to the aligned storage. More... | |
const void * | get () const |
Get a const pointer to the aligned storage. More... | |
template<typename T > | |
T * | as () |
Get a typed pointer to the aligned storage. More... | |
template<typename T > | |
const T * | as () const |
Get a const typed pointer to the aligned storage. More... | |
Public Attributes | |
char | data [TAlignment] |
The aligned storage data. More... | |
Definition at line 276 of file typeinfo.hpp.
|
inline |
Get a typed pointer to the aligned storage.
Definition at line 291 of file typeinfo.hpp.
|
inline |
Get a const typed pointer to the aligned storage.
Definition at line 298 of file typeinfo.hpp.
|
inline |
Get a pointer to the aligned storage.
Definition at line 284 of file typeinfo.hpp.
|
inline |
Get a const pointer to the aligned storage.
Definition at line 287 of file typeinfo.hpp.
char trlc::platform::AlignedType< TAlignment >::data[TAlignment] |
The aligned storage data.
Definition at line 281 of file typeinfo.hpp.