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?


Benjamin Kosnik wrote:
#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 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.



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