Accept arbitrary number of Case's and test each of them sequentially. If match was found then executes Case body, also based on Case falling option decides whether to execute next body or finish work.
Definition at line 704 of file eswitch_v5.hpp.
Instances and minimal complete definitions | |
struct | Padding |
Public Types | |
template<typename T > | |
using | args_t = details::amount_args< typename T::F > |
template<typename T > | |
using | underlying = details::invoke_result< typename T::F > |
template<typename T > | |
using | underlying_t = details::invoke_result_t< typename T::F > |
Public Member Functions | |
template<typename ... Ts> | |
constexpr | eswitch_impl (Ts &&... ts) |
template<typename ... Cnds> | |
constexpr auto | operator() (Cnds &&... cnds) |
|
constexpr |
Definition at line 726 of file eswitch_v5.hpp.
using eswitch_v5::eswitch_impl< Args >::args_t = details::amount_args< typename T::F > |
Definition at line 723 of file eswitch_v5.hpp.
using eswitch_v5::eswitch_impl< Args >::underlying = details::invoke_result< typename T::F > |
Definition at line 717 of file eswitch_v5.hpp.
using eswitch_v5::eswitch_impl< Args >::underlying_t = details::invoke_result_t< typename T::F > |
Definition at line 720 of file eswitch_v5.hpp.
|
constexpr |
Definition at line 712 of file eswitch_v5.hpp.