刚下的VS2015 写的第一条程序就遇到这些问题,请大神看看怎
vs2015吧
全部回复
仅看楼主
level 3
听涛客wh 楼主
#include<iostream>
using namespace std;
int main()
{
cout << "hello\n";
return 0;
}
f:\vs\vc\include\xtr1common(100): error C2737: “std::is_same_v”: 必须初始化“constexpr”对象
1>f:\vs\vc\include\xtr1common(100): error C2998: “const bool std::is_same_v”: 不能是模板定义
1>f:\vs\vc\include\xtr1common(245): error C2737: “std::is_integral_v”: 必须初始化“constexpr”对象
1>f:\vs\vc\include\xtr1common(245): error C2998: “const bool std::is_integral_v”: 不能是模板定义
1>f:\vs\vc\include\xtr1common(282): error C2737: “std::is_floating_point_v”: 必须初始化“constexpr”对象
1>f:\vs\vc\include\xtr1common(282): error C2998: “const bool std::is_floating_point_v”: 不能是模板定义
1>f:\vs\vc\include\xtr1common(295): error C2737: “std::is_arithmetic_v”: 必须初始化“constexpr”对象
1>f:\vs\vc\include\xtr1common(295): error C2998: “const bool std::is_arithmetic_v”: 不能是模板定义
1>f:\vs\vc\include\xstddef(697): error C2737: “std::is_function_v”: 必须初始化“constexpr”对象
1>f:\vs\vc\include\xstddef(697): error C2998: “const bool std::is_function_v”: 不能是模板定义
1>f:\vs\vc\include\type_traits(524): error C2275: “_To”: 将此类型用作表达式非法
1> f:\vs\vc\include\type_traits(521): note: 参见“_To”的声明
2017年07月30日 03点07分 1
level 3
听涛客wh 楼主
自顶1
2017年07月30日 08点07分 2
level 3
听涛客wh 楼主
2
2017年07月30日 08点07分 3
level 3
听涛客wh 楼主
3
2017年07月30日 08点07分 4
level 1
楼主您好,请问您搞定了吗?
2017年12月01日 05点12分 5
你好,请问问题解决没有?
2018年03月06日 07点03分
2018年03月06日 08点03分
回复 简心🍀 :已搞定,感谢
2018年03月15日 11点03分
怎么弄的??在线等!
2018年03月21日 11点03分
1