模板函数 使用的默认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++0xc++

相关文章
相关标签/搜索