Determine the alignment of an object. More...
Additional Inherited Members | |
Public Types inherited from Burger::integral_constant< uintptr_t, alignof(T)> | |
typedef uintptr_t | value_type |
Encapsulated type. | |
typedef integral_constant< uintptr_t, _Value > | type |
Instantiated type of this template. | |
Public Member Functions inherited from Burger::integral_constant< uintptr_t, alignof(T)> | |
constexpr | operator uintptr_t () const noexcept |
Function to return the encapsulated value. | |
constexpr uintptr_t | operator() () const noexcept |
Function to return the encapsulated value. | |
Static Public Attributes inherited from Burger::integral_constant< uintptr_t, alignof(T)> | |
static constexpr const uintptr_t | value |
Encapsulated value. | |
Determine the alignment of an object.
A template to obtain the alignment value of an object.
T | Type of object to test |
Example of use: