Question

In another thread I introduced some techniques we would use for Model-Driven-Development in C++ once C++11 features, in particular user-defined literals, are available. I just revised the plans for GCC 4.5 and even 4.6 and it shows that this particular feature is not supported.

Anyway, do you know if I even have any compiler to test that feature to start designing/implementing the algorithms till the C++11 is approved and implemented in mainstream free compilers (LLVM, GCC)?

Was it helpful?

Solution

Not yet, although patches for both Clang and GCC have been submitted and rejected for reworking, so you should see something soon.

OTHER TIPS

None yet, as far as I know.

GCC 4.7 (unreleased as of this posting) supports user-defined literals. For reference see http://gcc.gnu.org/gcc-4.7/changes.html and http://gcc.gnu.org/gcc-4.7/cxx0x_status.html .

Judging just from past GCC release timelines, I guess GCC 4.7 will be released sometime before May 2012.

You can use it right away if you want: I'm using a GCC 4.7 SVN snapshot right now specifically to play with user-defined literals and some other newly implemented C++11 features. They are working very well and I expect to use them in earnest when GCC 4.7 is released.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top