generic-lambda

    7зной

    4ответ

    Можно вывести arity неосновной лямбды, обратившись к ее operator(). template <typename F> struct fInfo : fInfo<decltype(&F::operator())> { }; template <typename F, typename Ret, typename... Args>