Wrap a static bool constant. More...
Additional Inherited Members | |
Public Types inherited from Burger::integral_constant< bool, _Value > | |
typedef bool | value_type |
Encapsulated type. | |
typedef integral_constant< bool, _Value > | type |
Instantiated type of this template. | |
Public Member Functions inherited from Burger::integral_constant< bool, _Value > | |
constexpr | operator bool () const noexcept |
Function to return the encapsulated value. | |
constexpr bool | operator() () const noexcept |
Function to return the encapsulated value. | |
Static Public Attributes inherited from Burger::integral_constant< bool, _Value > | |
static constexpr const bool | value |
Encapsulated value. | |
Wrap a static bool constant.
A template to wrap a static bool constant so templates can resolve the value at compile time.
This is an implementation from C++17.
_Value | value to wrap. |