Regular expressions in c++ STL

前端 未结 3 975
青春惊慌失措
青春惊慌失措 2021-01-02 10:41

Is there any native library in STL which is tested and works without any extra compiler options? I tried to use , but the compiler outputs this:

3条回答
  •  甜味超标
    2021-01-02 11:18

    I'm pretty sure that regular expression support was added in C++0x, so there are no STL things that support it until then. If you don't want to use c++0x, you could use Boost instead, but that's not in the STL.

提交回复
热议问题