Inner union with various constexpr constructors (not shown in documentation) to support the initialization of the outer union as constexpr.
Collects a void and a char pointer and arrays of those.
In addition, non-pointer field Memory (type char) is given, which can be be used to receive a pointer to the start of the placeholder by applying operator&. This char* then can be reinterpreted without braking the strict-aliasing rule when compiling the code with higher optimization levels.
Definition at line 163 of file placeholder.inl.
Public Fields | |
| const char * | CChar |
A constant void pointer. | |
| const char * | CCharArray [2] |
Array of const char* of length 2. | |
| char * | Char |
A void pointer. | |
| char * | CharArray [2] |
Array of char* of length 2. | |
| const void * | CVoid |
A constant void pointer. | |
| const void * | CVoidArray [2] |
Array of const void* of length 2. | |
| const wchar * | CWChar |
A constant wchar pointer. | |
| const wchar * | CWCharArray [2] |
Array of const wchar* of length 2. | |
| char | Memory |
Not a pointer but becomes one with applying operator&. | |
| void * | Void |
A void pointer. | |
| void * | VoidArray [2] |
Array of void* of length 2. | |
| wchar * | WChar |
A wchar pointer. | |
| wchar * | WCharArray [2] |
Array of wchar* of length 2. | |