using the 0x standard

closed account (iw0XoG1T)
If I am using the gcc compiler am I able to use the 0x standard library? If so what is it called(e.g. is it called -lstdc++0x)?
closed account (Lv0f92yv)
This might be useful: http://gcc.gnu.org/projects/cxx0x.html
Is 0x even released yet?
closed account (iw0XoG1T)
Thanks I did go to that site first, when I use the "-std=c++0x" flag it works, but I seem to be having trouble using the regex library.
When I use it with boost::regex it requires an additional library(-lboost_regex). If any one has an example that compiles using regex from the "0x" standard library I would appreciate it.
Well, boost::regex is part of Boost. What do you expect?
closed account (iw0XoG1T)
My understanding is that boost::regex will be part of the 0x standard library--so my assumption was that if I was using 0x standard library I would be able to use regex without an additional library.
But it won't be incorporated as boost::regex, just like std::vector wasn't incorporated as stl::vector.
closed account (iw0XoG1T)
I took a wild ass guess that it would be included as std::regex; but it did not compile--so what I was trying to ask (which I guess I did not make clear) was a request for an example that does compile using regex and the "0x" standard library.

I don't know if regex is available when you use the "-std=c++0x" flag with the gcc compiler--my hope was that someone who is familiar with gcc compiler and the "0x" standard library could point me in the right direction.
closed account (iw0XoG1T)
This looks like the answer to my question:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#id476343

As far as I can tell it has not been fully implemented so I guess I will continue to have to use use the boost library.
Topic archived. No new replies allowed.