Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81451 - in trunk/boost/spirit/home: karma/nonterminal karma/operator karma/string lex/lexer qi qi/nonterminal qi/string support support/detail
From: marshall_at_[hidden]
Date: 2012-11-20 21:54:05


Author: marshall
Date: 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
New Revision: 81451
URL: http://svn.boost.org/trac/boost/changeset/81451

Log:
Remove usage of deprecated macros
Text files modified:
   trunk/boost/spirit/home/karma/nonterminal/rule.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/alternative.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/sequence.hpp | 2 +-
   trunk/boost/spirit/home/karma/string/symbols.hpp | 2 +-
   trunk/boost/spirit/home/lex/lexer/lexer.hpp | 2 +-
   trunk/boost/spirit/home/qi/copy.hpp | 2 +-
   trunk/boost/spirit/home/qi/nonterminal/rule.hpp | 2 +-
   trunk/boost/spirit/home/qi/string/symbols.hpp | 2 +-
   trunk/boost/spirit/home/support/action_dispatch.hpp | 8 ++++----
   trunk/boost/spirit/home/support/attributes.hpp | 2 +-
   trunk/boost/spirit/home/support/auto.hpp | 2 +-
   trunk/boost/spirit/home/support/detail/scoped_enum_emulation.hpp | 4 ++--
   12 files changed, 16 insertions(+), 16 deletions(-)

Modified: trunk/boost/spirit/home/karma/nonterminal/rule.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/nonterminal/rule.hpp (original)
+++ trunk/boost/spirit/home/karma/nonterminal/rule.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -240,7 +240,7 @@
             return r;
         }
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
         // non-const version needed to suppress proto's %= kicking in
         template <typename Expr>
         friend rule& operator%=(rule& r, Expr& expr)

Modified: trunk/boost/spirit/home/karma/operator/alternative.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/alternative.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/alternative.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -62,7 +62,7 @@
             };
 
             // never called, but needed for decltype-based result_of (C++0x)
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
             template <typename Element>
             typename result<element_properties(Element)>::type
             operator()(Element&&) const;

Modified: trunk/boost/spirit/home/karma/operator/sequence.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/sequence.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/sequence.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -73,7 +73,7 @@
             };
 
             // never called, but needed for decltype-based result_of (C++0x)
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
             template <typename Element>
             typename result<element_properties(Element)>::type
             operator()(Element&&) const;

Modified: trunk/boost/spirit/home/karma/string/symbols.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/string/symbols.hpp (original)
+++ trunk/boost/spirit/home/karma/string/symbols.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -298,7 +298,7 @@
             return sym.remove(attr);
         }
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
         // non-const version needed to suppress proto's += kicking in
         template <typename Attr, typename T_>
         friend adder const&

Modified: trunk/boost/spirit/home/lex/lexer/lexer.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexer.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexer.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -285,7 +285,7 @@
             lexer_def_& operator= (lexer_def_ const&);
         };
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
         // allow to assign a token definition expression
         template <typename LexerDef, typename Expr>
         inline lexer_def_<LexerDef>&

Modified: trunk/boost/spirit/home/qi/copy.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/copy.hpp (original)
+++ trunk/boost/spirit/home/qi/copy.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -14,7 +14,7 @@
 #pragma once
 #endif
 
-#if !defined(BOOST_NO_AUTO_DECLARATIONS)
+#if !defined(BOOST_NO_CXX11_AUTO_DECLARATIONS)
 
 namespace boost { namespace spirit { namespace qi
 {

Modified: trunk/boost/spirit/home/qi/nonterminal/rule.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/nonterminal/rule.hpp (original)
+++ trunk/boost/spirit/home/qi/nonterminal/rule.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -231,7 +231,7 @@
             return r;
         }
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
         // non-const version needed to suppress proto's %= kicking in
         template <typename Expr>
         friend rule& operator%=(rule& r, Expr& expr)

Modified: trunk/boost/spirit/home/qi/string/symbols.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/string/symbols.hpp (original)
+++ trunk/boost/spirit/home/qi/string/symbols.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -166,7 +166,7 @@
             return sym.remove(str);
         }
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
         // non-const version needed to suppress proto's += kicking in
         template <typename Str>
         friend adder const&

Modified: trunk/boost/spirit/home/support/action_dispatch.hpp
==============================================================================
--- trunk/boost/spirit/home/support/action_dispatch.hpp (original)
+++ trunk/boost/spirit/home/support/action_dispatch.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -15,8 +15,8 @@
 
 #include<boost/config.hpp>
 
-#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_LAMBDAS) && \
- !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_NO_DECLTYPE)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_LAMBDAS) && \
+ !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_DECLTYPE)
 #include <utility>
 #include <type_traits>
 #endif
@@ -30,8 +30,8 @@
     template <typename Component>
     struct action_dispatch
     {
-#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_LAMBDAS) && \
- !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_NO_DECLTYPE)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_CXX11_LAMBDAS) && \
+ !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_DECLTYPE)
         // omit function parameters without specializing for each possible
         // type of callable entity
         // many thanks to Eelis/##iso-c++ for this contribution

Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -771,7 +771,7 @@
             };
 
             // never called, but needed for decltype-based result_of (C++0x)
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
             template <typename Element>
             typename result<element_attribute(Element)>::type
             operator()(Element&&) const;

Modified: trunk/boost/spirit/home/support/auto.hpp
==============================================================================
--- trunk/boost/spirit/home/support/auto.hpp (original)
+++ trunk/boost/spirit/home/support/auto.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -20,7 +20,7 @@
 // http://boost-spirit.com/home/articles/qi-example/zero-to-60-mph-in-2-seconds/
 // for more info
 
-#if defined(BOOST_NO_AUTO_DECLARATIONS)
+#if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS)
 
 #define BOOST_SPIRIT_AUTO(domain_, name, expr) \
     typedef boost::proto::result_of:: \

Modified: trunk/boost/spirit/home/support/detail/scoped_enum_emulation.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/scoped_enum_emulation.hpp (original)
+++ trunk/boost/spirit/home/support/detail/scoped_enum_emulation.hpp 2012-11-20 21:54:04 EST (Tue, 20 Nov 2012)
@@ -17,8 +17,8 @@
 #if BOOST_VERSION >= 104000
 # include <boost/detail/scoped_enum_emulation.hpp>
 #else
-# if !defined(BOOST_NO_SCOPED_ENUMS)
-# define BOOST_NO_SCOPED_ENUMS
+# if !defined(BOOST_NO_CXX11_SCOPED_ENUMS)
+# define BOOST_NO_CXX11_SCOPED_ENUMS
 # endif
 # define BOOST_SCOPED_ENUM_START(name) struct name { enum enum_type
 # define BOOST_SCOPED_ENUM_END };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk