识别C++编译器编译标准

cout << __cplusplus<<endl;

C++03:__cplusplus = 199711L
C++11:__cplusplus = 201103L

posted on 2019-07-15 10:25  Frank_Allen  阅读(346)  评论(0编辑  收藏  举报

导航