Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
List of all members
Burger::bool_constant< _Value > Struct Template Reference

Wrap a static bool constant. More...

Inheritance diagram for Burger::bool_constant< _Value >:
Inheritance graph
[legend]
Collaboration diagram for Burger::bool_constant< _Value >:
Collaboration graph
[legend]

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.
 

Detailed Description

template<bool _Value>
struct Burger::bool_constant< _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.

Template Parameters
_Valuevalue to wrap.
See also
integral_constant