STL中是否有任何经过测试且无需额外编译器选项即可正常工作的本地库?我尝试使用
<regex>
,但编译器输出以下内容:
从/usr/include/c++/4.3/regex:40导入文件,来自main.cpp:5: /usr/include/c++/4.3/c++0x_warning.h:36:2: 错误:#error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.