I get a linker error with the following code:
#include <regex>
int main()
{
std::regex rgx("ello");
return 0;
}
test.o: In function `basic_regex':
/usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c++/4.4.1/tr1_impl/regex:769: undefined reference to `std::basic_regex<char, std::regex_traits<char> >::_M_compile()'
collect2: ld returned 1 exit status
Best Solution
From
gcc-4.4.1/include/c++/4.4.1/tr1_impl/regex
I guess it's not ready yet.
UPDATE: current bleeding edge GCC (SVN @153546) doesn't appear to have the implementation yet.