使用boost::callable_traits库中的return_type_t进行类型萃取的测试程序
#include <iostream>
#include <type_traits>
#include <boost/callable_traits.hpp>
// 定义一个函数模板
template <typename T>
T add
使用boost::callable_traits库中的return_type_t进行类型萃取的测试程序
#include <iostream>
#include <type_traits>
#include <boost/callable_traits.hpp>
// 定义一个函数模板
template <typename T>
T add