.. index:: pair: struct; function_traits> .. _doxid-structfunction__traits_3_01std_1_1function_3_01_r_07_args_8_8_8_08_4_01_4: template struct function_traits> ========================================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template struct function_traits> { // typedefs typedef R :target:`result_t`; typedef typename std::tuple_element>::type :target:`arg_t`; // fields static const size_t :target:`nargs` = sizeof...(Args); };