ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
UnionPointers Union Reference

Description:

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 147 of file placeholder.inl.

Public Field Index:

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 wcharCWChar
 A constant wchar pointer.
 
const wcharCWCharArray [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.
 
wcharWChar
 A wchar pointer.
 
wcharWCharArray [2]
 Array of wchar* of length 2.
 

Field Details:

◆ CChar

const char* CChar

A constant void pointer.

Definition at line 152 of file placeholder.inl.

◆ CCharArray

const char* CCharArray[2]

Array of const char* of length 2.

Definition at line 159 of file placeholder.inl.

◆ Char

char* Char

A void pointer.

Definition at line 151 of file placeholder.inl.

◆ CharArray

char* CharArray[2]

Array of char* of length 2.

Definition at line 158 of file placeholder.inl.

◆ CVoid

const void* CVoid

A constant void pointer.

Definition at line 150 of file placeholder.inl.

◆ CVoidArray

const void* CVoidArray[2]

Array of const void* of length 2.

Definition at line 157 of file placeholder.inl.

◆ CWChar

const wchar* CWChar

A constant wchar pointer.

Definition at line 154 of file placeholder.inl.

◆ CWCharArray

const wchar* CWCharArray[2]

Array of const wchar* of length 2.

Definition at line 161 of file placeholder.inl.

◆ Memory

char Memory

Not a pointer but becomes one with applying operator&.

Definition at line 163 of file placeholder.inl.

◆ Void

void* Void

A void pointer.

Definition at line 149 of file placeholder.inl.

◆ VoidArray

void* VoidArray[2]

Array of void* of length 2.

Definition at line 156 of file placeholder.inl.

◆ WChar

wchar* WChar

A wchar pointer.

Definition at line 153 of file placeholder.inl.

◆ WCharArray

wchar* WCharArray[2]

Array of wchar* of length 2.

Definition at line 160 of file placeholder.inl.


The documentation for this union was generated from the following file: