ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::boxing::detail::UnionIntegrals Union Reference

Description:

Inner union with various constexpr constructors (not shown in documentation) to support the initialization of the outer union as constexpr.

Collects scalar integrals and arrays of those.

Definition at line 59 of file boxing/placeholder.inl.

Public Field Index:

integer Array [2]
 Array of 64-bit signed integrals of length 2 on 64-bit platform, 1 on a 32-bit platform.
 
int16_t Array16 [2 *sizeof(void *)/sizeof(int16_t)]
 Array of 16-bit signed integrals of length 8 on 64-bit platform, 4 on a 32-bit platform.
 
int32_t Array32 [2 *sizeof(void *)/sizeof(int32_t)]
 Array of 32-bit signed integrals of length 4 on a 64-bit platform. Not available on 32-bit platforms.
 
int64_t Array64 [2 *sizeof(void *)/sizeof(int64_t)]
 Array of 64-bit signed integrals of length 1 on a 32-bit platform. Not available on 64-bit platforms.
 
int8_t Array8 [2 *sizeof(void *)/sizeof(int8_t)]
 Array of 8-bit signed integrals of length 16 on 64-bit platform, 8 on a 32-bit platform.
 
integer Int
 Signed integral of platform-dependent size.
 
int16_t Int16
 16-bit signed integral.
 
int32_t Int32
 32-bit signed integral. Available only if platform is not of 32-bit.
 
int64_t Int64
 64-bit signed integral. Available only if platform is not of 64-bit.
 
int8_t Int8
 8-bit signed integral.
 
uinteger UArray [2]
 Array of 64-bit unsigned integrals of length 2 on 64-bit platform, 1 on a 32-bit platform.
 
uinteger UInt
 Unsigned integral of platform-dependent size.
 
uint16_t UInt16
 16-bit unsigned integral.
 
uint32_t UInt32
 32-bit unsigned integral. Available only if platform is not of 32-bit.
 
uint64_t UInt64
 64-bit unsigned integral. Available only if platform is not of 64-bit.
 
uint8_t UInt8
 8-bit unsigned integral.
 

Public Method Index:

constexpr UnionIntegrals (int16_t value)
 
constexpr UnionIntegrals (int32_t value)
 
constexpr UnionIntegrals (int8_t value)
 
constexpr UnionIntegrals (integer v1, integer v2)
 
constexpr UnionIntegrals (integer value)
 
constexpr UnionIntegrals (uint16_t value)
 
constexpr UnionIntegrals (uint32_t value)
 
constexpr UnionIntegrals (uint8_t value)
 
constexpr UnionIntegrals (uinteger value)
 

Field Details:

◆ Array

integer alib::boxing::detail::UnionIntegrals::Array[2]

Array of 64-bit signed integrals of length 2 on 64-bit platform, 1 on a 32-bit platform.

Definition at line 95 of file boxing/placeholder.inl.

◆ Array16

int16_t alib::boxing::detail::UnionIntegrals::Array16[2 *sizeof(void *)/sizeof(int16_t)]

Array of 16-bit signed integrals of length 8 on 64-bit platform, 4 on a 32-bit platform.

Definition at line 83 of file boxing/placeholder.inl.

◆ Array32

int32_t alib::boxing::detail::UnionIntegrals::Array32[2 *sizeof(void *)/sizeof(int32_t)]

Array of 32-bit signed integrals of length 4 on a 64-bit platform. Not available on 32-bit platforms.

Definition at line 86 of file boxing/placeholder.inl.

◆ Array64

int64_t alib::boxing::detail::UnionIntegrals::Array64[2 *sizeof(void *)/sizeof(int64_t)]

Array of 64-bit signed integrals of length 1 on a 32-bit platform. Not available on 64-bit platforms.

Definition at line 87 of file boxing/placeholder.inl.

◆ Array8

int8_t alib::boxing::detail::UnionIntegrals::Array8[2 *sizeof(void *)/sizeof(int8_t)]

Array of 8-bit signed integrals of length 16 on 64-bit platform, 8 on a 32-bit platform.

Definition at line 82 of file boxing/placeholder.inl.

◆ Int

integer alib::boxing::detail::UnionIntegrals::Int

Signed integral of platform-dependent size.

Definition at line 79 of file boxing/placeholder.inl.

◆ Int16

int16_t alib::boxing::detail::UnionIntegrals::Int16

16-bit signed integral.

Definition at line 63 of file boxing/placeholder.inl.

◆ Int32

int32_t alib::boxing::detail::UnionIntegrals::Int32

32-bit signed integral. Available only if platform is not of 32-bit.

Definition at line 67 of file boxing/placeholder.inl.

◆ Int64

int64_t alib::boxing::detail::UnionIntegrals::Int64

64-bit signed integral. Available only if platform is not of 64-bit.

Definition at line 69 of file boxing/placeholder.inl.

◆ Int8

int8_t alib::boxing::detail::UnionIntegrals::Int8

8-bit signed integral.

Definition at line 61 of file boxing/placeholder.inl.

◆ UArray

uinteger alib::boxing::detail::UnionIntegrals::UArray[2]

Array of 64-bit unsigned integrals of length 2 on 64-bit platform, 1 on a 32-bit platform.

Definition at line 96 of file boxing/placeholder.inl.

◆ UInt

uinteger alib::boxing::detail::UnionIntegrals::UInt

Unsigned integral of platform-dependent size.

Definition at line 80 of file boxing/placeholder.inl.

◆ UInt16

uint16_t alib::boxing::detail::UnionIntegrals::UInt16

16-bit unsigned integral.

Definition at line 64 of file boxing/placeholder.inl.

◆ UInt32

uint32_t alib::boxing::detail::UnionIntegrals::UInt32

32-bit unsigned integral. Available only if platform is not of 32-bit.

Definition at line 68 of file boxing/placeholder.inl.

◆ UInt64

uint64_t alib::boxing::detail::UnionIntegrals::UInt64

64-bit unsigned integral. Available only if platform is not of 64-bit.

Definition at line 70 of file boxing/placeholder.inl.

◆ UInt8

uint8_t alib::boxing::detail::UnionIntegrals::UInt8

8-bit unsigned integral.

Definition at line 62 of file boxing/placeholder.inl.

Constructor(s) / Destructor Details:

◆ UnionIntegrals() [1/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( integer v1,
integer v2 )
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
v1The first value to store.
v2The second value to store.

Definition at line 102 of file boxing/placeholder.inl.

◆ UnionIntegrals() [2/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( int8_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 106 of file boxing/placeholder.inl.

◆ UnionIntegrals() [3/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( uint8_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 110 of file boxing/placeholder.inl.

◆ UnionIntegrals() [4/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( int16_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 114 of file boxing/placeholder.inl.

◆ UnionIntegrals() [5/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( uint16_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 118 of file boxing/placeholder.inl.

◆ UnionIntegrals() [6/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( int32_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 123 of file boxing/placeholder.inl.

◆ UnionIntegrals() [7/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( uint32_t value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 127 of file boxing/placeholder.inl.

◆ UnionIntegrals() [8/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( integer value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 134 of file boxing/placeholder.inl.

◆ UnionIntegrals() [9/9]

alib::boxing::detail::UnionIntegrals::UnionIntegrals ( uinteger value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 138 of file boxing/placeholder.inl.


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