c++11之function_traits
function_traits
例:int func(int a,string b);
function_traits::function_type; //获取函数类型 int _cdecl(int, string)
function_traits::return_type; //int
function_traits::arity; //2
function_traits::arg_t
原创
2016-07-28 19:56:49 ·
2939 阅读 ·
0 评论