From 3e83b97f92a15eb0d8ba1938cc960711e3c610c9 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 22 Nov 2006 17:52:52 +0000 Subject: [PATCH] CodeWarrior optionally supports rvalue references [SVN r36151] --- include/boost/config/compiler/metrowerks.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/config/compiler/metrowerks.hpp b/include/boost/config/compiler/metrowerks.hpp index f173295e..6ebf5500 100644 --- a/include/boost/config/compiler/metrowerks.hpp +++ b/include/boost/config/compiler/metrowerks.hpp @@ -80,6 +80,13 @@ # define BOOST_COMPILER_VERSION __MWERKS__ #endif +// +// C++0x features +// +#if __option(rvalue_refs) +# define BOOST_CXX0X_RVALUE_REFERENCES +#endif + #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) //