using the 0x standard

Apr 2, 2010 at 12:57pm
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)?
Apr 2, 2010 at 3:52pm
closed account (Lv0f92yv)
This might be useful: http://gcc.gnu.org/projects/cxx0x.html
Apr 2, 2010 at 4:08pm
Is 0x even released yet?
Apr 2, 2010 at 4:37pm
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.
Apr 2, 2010 at 5:15pm
Well, boost::regex is part of Boost. What do you expect?
Apr 2, 2010 at 11:06pm
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.
Apr 2, 2010 at 11:37pm
But it won't be incorporated as boost::regex, just like std::vector wasn't incorporated as stl::vector.
Apr 3, 2010 at 12:20am
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.
Apr 3, 2010 at 12:31am
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.