This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Predefined macros for rvalue reference support?



#ifdef __GXX_EXPERIMENTAL_CXX0X__

This is what we are currently using to indicate C++0x mode. Ie, -std=c++0x/__GXX_EXPERIMENTAL_CXX0X__.


There is no fine-grained control just for rvalue references, a la -fexceptions/__EXCEPTIONS.

I think you'll just have to come up with a defined macro for rvalue reference use, and enable it on a case-by-case basis. Sorry.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]