From 0f6f5f8d65088c9b2991470b56a0873e07e99698 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 8 May 2007 19:56:40 +0000 Subject: [PATCH] Define BOOST_HAS_RVALUE_REFS for ConceptGCC and OSL5-gcc [SVN r37636] --- include/boost/config/compiler/gcc.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 0aaf8953..f1b7ba3e 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -109,10 +109,16 @@ # define BOOST_HAS_VARIADIC_TMPL #endif +// Rvalue reference support +#ifdef __RVALUE_REFS +# define BOOST_HAS_RVALUE_REFS +#endif + // ConceptGCC compiler: // http://www.generic-programming.org/software/ConceptGCC/ #ifdef __GXX_CONCEPTS__ # define BOOST_HAS_CONCEPTS +# define BOOST_HAS_RVALUE_REFS # define BOOST_COMPILER "ConceptGCC version " __VERSION__ #endif