Wrap a static constant of specified type. More...
Public Types | |
typedef T | value_type |
Encapsulated type. | |
typedef integral_constant< T, _Value > | type |
Instantiated type of this template. | |
Public Member Functions | |
constexpr | operator T () const noexcept |
Function to return the encapsulated value. | |
constexpr T | operator() () const noexcept |
Function to return the encapsulated value. | |
Static Public Attributes | |
static constexpr const T | value = _Value |
Encapsulated value. | |
Wrap a static constant of specified type.
A template to wrap a static constant of a specified type so templates can resolve the value at compile time. It's the base class for type traits.
T | Type of wrapped value |
_Value | value to wrap. |
integral_constant<T, _Value> Burger::integral_constant< T, _Value >::type |
Instantiated type of this template.
T Burger::integral_constant< T, _Value >::value_type |
Encapsulated type.
|
inlineconstexprnoexcept |
Function to return the encapsulated value.
|
inlineconstexprnoexcept |
Function to return the encapsulated value.
|
staticconstexpr |
Encapsulated value.