Compares value with corresponding entry in std::tuple.
Definition at line 54 of file eswitch_v5.hpp.
Friends | |
template<Comparison_operators , Index , typename > | |
class | condition |
Public Types | |
using | idx = TIndex |
using | value_type = CaseEntry |
Public Member Functions | |
template<typename Arg > | |
constexpr | condition (Arg &&value) |
template<StdTuple TSrcTuple> | |
constexpr auto | operator() (const TSrcTuple &src_tuple) const |
template<StdTuple TSrcTuple> | |
constexpr bool | operator() (const TSrcTuple &src_tuple) const requires(std |
Static Public Member Functions | |
template<std::size_t MaxIndex> | |
static constexpr bool | is_out_of_range () |
|
friend |
Definition at line 505 of file eswitch_v5.hpp.
|
staticconstexpr |
Definition at line 536 of file eswitch_v5.hpp.
|
constexpr |
Definition at line 520 of file eswitch_v5.hpp.
|
constexpr |
Definition at line 529 of file eswitch_v5.hpp.
using eswitch_v5::condition< CmpOperator, TIndex, CaseEntry >::idx = TIndex |
Definition at line 511 of file eswitch_v5.hpp.
using eswitch_v5::condition< CmpOperator, TIndex, CaseEntry >::value_type = CaseEntry |
Definition at line 510 of file eswitch_v5.hpp.
|
constexpr |
Definition at line 514 of file eswitch_v5.hpp.