Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
select_value Struct Reference

Select one of two arbitrary values. More...

Detailed Description

Select one of two arbitrary values.


A template that sets a constexpr const member variable value with either the true or false entry based on the value passed in the first term.

// Returns 6
6, 9>::value;
// Returns 9
int8_t, 6, 9>::value;
Select one of two arbitrary values.
static constexpr const T value
Encapsulated value.
Definition burger.h:4753
Parameters
BBool to determine whether to return the _True or _False value.
Template Parameters
TType of the return value, must be a non floating point data type.
Parameters
_TrueValue to return if B is true.
_FalseValue to return if B is false.