3
This shouldn't be too hard. Let's start with the top level: template <typename C, std::size_t N> struct NaryDispatch { // details, see below using f_type = typename function_maker<C &, N>::type; template <typename F> NaryDispatch(F && f) : fn_(std::forward<F>(f)) {} f_type...