1 #ifndef UTIL_CLI_CMDOPTIONBINDPARAMLIST_H
2 #define UTIL_CLI_CMDOPTIONBINDPARAMLIST_H
29 template <
typename _Tp>
34 static const _Tp &
do_wrap(
const _Tp &__x) {
return __x; }
36 static _Tp &
do_wrap(_Tp &__x) {
return __x; }
43 template <
typename _Tp,
typename _Class>
54 template <
typename... _Args>
60 template <
int... _Index>
63 template <std::size_t N,
int... _Index>
66 template <
int... _Index>
72 template <
class _F,
int... _Indexes>
74 f(args, std::get<_Indexes>(
args_)...);
std::tuple< _Args... > args_
void _do_call(_F &f, callback_param args, index_args_var_list< _Indexes... >)
void operator()(_F &f, callback_param args, int)
cmd_option_bind_param_list(_Args... args)
index_args_var_list< _Index... > type
static type do_wrap(_Tp _Class::*__pm)
cmd_option_bindt_mf_cc_caller< _Class, type > caller_type
cmd_option_bindt_cc_caller< _Tp > caller_type
static const _Tp & do_wrap(const _Tp &__x)
static _Tp & do_wrap(_Tp &__x)