使用boost::callable_traits中的has_void_return进行返回类型判定的测试程序
代码示例:
#include <iostream>
#include <boost/callable_traits/has_void_return.hpp>
void foo() {
}
使用boost::callable_traits中的has_void_return进行返回类型判定的测试程序
代码示例:
#include <iostream>
#include <boost/callable_traits/has_void_return.hpp>
void foo() {
}