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
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”的声明