Reputation: 2448
I have been working in c++ for a while and something came up. I tried to include regex header. But compiler won't find the header file.
However, when I try to compile same file using clang++, It compiles and works great.
Sample code I tried was from here
Upvotes: 0
Views: 1351
Reputation: 8164
This depends on the C++ library the compiler uses. E.g. for GCC 4.9 regex
is now implemented. Options for using C++11 today summarizes this quite well.
Upvotes: 1