Jpp
15.0.4
the software that should make you happy
|
Auxiliary template class for type bool. More...
#include <JBool.hh>
Public Types | |
typedef JBool< __value__ > | bool_type |
Type definition of bool value. More... | |
Public Member Functions | |
JBool () | |
Default construcor. More... | |
operator bool () const | |
Type conversion operator. More... | |
Static Public Member Functions | |
static JBool<!value > | c_not () |
Make logical NOT. More... | |
template<bool option> | |
static JBool< value==option > | c_equals () |
Make logical EQUALS. More... | |
template<bool option> | |
static JBool< value==option > | c_equals (const JBool< option > &object) |
Make logical EQUALS. More... | |
template<bool option> | |
static JBool< value &&option > | c_and () |
Make logical AND. More... | |
template<bool option> | |
static JBool< value &&option > | c_and (const JBool< option > &object) |
Make logical AND. More... | |
template<bool option> | |
static JBool< value||option > | c_or () |
Make logical OR. More... | |
template<bool option> | |
static JBool< value||option > | c_or (const JBool< option > &object) |
Make logical OR. More... | |
template<bool option> | |
static JBool< value!=option > | c_xor () |
Make logical XOR. More... | |
template<bool option> | |
static JBool< value!=option > | c_xor (const JBool< option > &object) |
Make logical XOR. More... | |
template<bool __first__, bool __second__> | |
static JBool<(value &&__first__)||(!value &&__second__)> | c_switch () |
Make logical SWITCH. More... | |
template<bool __first__, bool __second__> | |
static JBool<(value &&__first__)||(!value &&__second__)> | c_switch (const JBool< __first__ > &first, const JBool< __second__ > &second) |
Make logical SWITCH. More... | |
Static Public Attributes | |
static const bool | value = __value__ |
Value. More... | |
Auxiliary template class for type bool.
This class can be used for boolean expressions at compile time.
typedef JBool<__value__> JLANG::JBool< __value__ >::bool_type |
|
inline |
|
inline |
Type conversion operator.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |