Regular expressions in c++ STL
- by Radek Šimko
Is there any native library in STL which is tested and works without any extra compiler options?
I tried to use <regex>, but the compiler outputs this:
In file included from /usr/include/c++/4.3/regex:40, from main.cpp:5:
/usr/include/c++/4.3/c++0x_warning.h:36:2: error: #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.