Inner union with various constexpr
constructors (not shown in documentation) to support the initialization of the outer union as constexpr
.
Collects scalar floating points and arrays of those.
Definition at line 185 of file boxing/placeholder.inl.
Public Field Index: | |
double | Double |
A double value. | |
double | DoubleArray [2 *sizeof(void *)/sizeof(double)] |
Array of double . The Length is usually 2 on 64-bit platform, 1 on a 32-bit platform. | |
float | Float |
A float value. | |
float | FloatArray [2 *sizeof(void *)/sizeof(float)] |
Array of float . The Length is usually 4 on 64-bit platform, 2 on a 32-bit platform. | |
Public Method Index: | |
constexpr | UnionFloatingPoints (double value) |
constexpr | UnionFloatingPoints (float value) |
double alib::boxing::detail::UnionFloatingPoints::Double |
A double
value.
Definition at line 188 of file boxing/placeholder.inl.
double alib::boxing::detail::UnionFloatingPoints::DoubleArray[2 *sizeof(void *)/sizeof(double)] |
Array of double
. The Length is usually 2 on 64-bit platform, 1 on a 32-bit platform.
Definition at line 194 of file boxing/placeholder.inl.
float alib::boxing::detail::UnionFloatingPoints::Float |
A float
value.
Definition at line 187 of file boxing/placeholder.inl.
float alib::boxing::detail::UnionFloatingPoints::FloatArray[2 *sizeof(void *)/sizeof(float)] |
Array of float
. The Length is usually 4 on 64-bit platform, 2 on a 32-bit platform.
Definition at line 191 of file boxing/placeholder.inl.
|
inlineconstexpr |
Constructor allowing constexpr
initialization.
value | The value to store. |
Definition at line 198 of file boxing/placeholder.inl.
|
inlineconstexpr |
Constructor allowing constexpr
initialization.
value | The value to store. |
Definition at line 201 of file boxing/placeholder.inl.