Predefined macros for rvalue reference support?

Paolo Carlini pcarlini@suse.de
Mon Apr 30 18:23:00 GMT 2007


Hi Peter,

> I don't need fine-grained control. I just need a way to detect rvalue 
> reference support. If -std=c++0x guarantees rvalue reference support, 
> I can use __GXX_EXPERIMENTAL_CXX0X__ for that.

AFAIK, rvalue references are not yet available in any branch. Of course 
are forthcoming, a patch is being finalized. This is the last version, I 
think:

    http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01658.html

Anyway, for your type of work, maybe you should fetch cxx0x-branch:

    http://gcc.gnu.org/projects/cxx0x.html

... and / or keep in touch with Doug!

Paolo.



More information about the Libstdc++ mailing list