84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
perl中可以声明 use 5.010申明代码必须由5.10以上的解析器解析c++中有没有类似的声明语句声明代码必须由c++11以上的编译器编译,而不是提示语法错误
__cplusplus is a predefined macro
The value for c++14 is 201402L
The value for c++11 is 201103L
The value for c++98 is 199711L
You can write like this
#if __cplusplus < 201103L # error "请使用c++11进行编译" #endif
__cplusplus is a predefined macro
The value for c++14 is 201402L
The value for c++11 is 201103L
The value for c++98 is 199711L
You can write like this