模板函数 使用的默认void 模板报错

You must specify the compiler argument -std=c++0x to avoid the following error:
test.cpp:5:13: error: default template arguments may not be used in function templates without -std=c++0x or -std=gnu++0x

原文地址:https://www.cnblogs.com/liulebao/p/3275167.html