Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81569 - in trunk/libs: fusion/test/algorithm fusion/test/sequence spirit/example/qi
From: marshall_at_[hidden]
Date: 2012-11-26 13:44:47


Author: marshall
Date: 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
New Revision: 81569
URL: http://svn.boost.org/trac/boost/changeset/81569

Log:
Removed usage of deprecated macros in Boost.Fusion and Boost.Spirit
Text files modified:
   trunk/libs/fusion/test/algorithm/pop_back.cpp | 2 +-
   trunk/libs/fusion/test/sequence/deque_move.cpp | 4 ++--
   trunk/libs/fusion/test/sequence/move.hpp | 2 +-
   trunk/libs/fusion/test/sequence/std_tuple_iterator.cpp | 2 +-
   trunk/libs/fusion/test/sequence/vector_move.cpp | 4 ++--
   trunk/libs/spirit/example/qi/typeof.cpp | 2 +-
   6 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/libs/fusion/test/algorithm/pop_back.cpp
==============================================================================
--- trunk/libs/fusion/test/algorithm/pop_back.cpp (original)
+++ trunk/libs/fusion/test/algorithm/pop_back.cpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -75,7 +75,7 @@
         //~ std::cout << pop_back(l) << std::endl;
     //~ }
 
-#ifndef BOOST_NO_AUTO_DECLARATIONS
+#ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS
     {
         auto vec = make_vector(1, 3.14, "hello");
 

Modified: trunk/libs/fusion/test/sequence/deque_move.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/deque_move.cpp (original)
+++ trunk/libs/fusion/test/sequence/deque_move.cpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -9,7 +9,7 @@
 
 #include <boost/config.hpp>
 
-#if !defined(BOOST_NO_RVALUE_REFERENCES)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
 
 #include <boost/fusion/container/deque/deque.hpp>
 
@@ -23,7 +23,7 @@
 int
 main()
 {
-#if !defined(BOOST_NO_RVALUE_REFERENCES)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
     test();
 #endif
 

Modified: trunk/libs/fusion/test/sequence/move.hpp
==============================================================================
--- trunk/libs/fusion/test/sequence/move.hpp (original)
+++ trunk/libs/fusion/test/sequence/move.hpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -6,7 +6,7 @@
 ==============================================================================*/
 #include <boost/config.hpp>
 
-#if defined(BOOST_NO_RVALUE_REFERENCES)
+#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
 #error "Valid only on compilers that support rvalues"
 #endif
 

Modified: trunk/libs/fusion/test/sequence/std_tuple_iterator.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/std_tuple_iterator.cpp (original)
+++ trunk/libs/fusion/test/sequence/std_tuple_iterator.cpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -8,7 +8,7 @@
 
 // The std_tuple_iterator adaptor only supports implementations
 // using variadic templates
-#if !defined(BOOST_NO_VARIADIC_TEMPLATES)
+#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
 
 #include <boost/fusion/adapted/std_tuple.hpp>
 

Modified: trunk/libs/fusion/test/sequence/vector_move.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/vector_move.cpp (original)
+++ trunk/libs/fusion/test/sequence/vector_move.cpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -8,7 +8,7 @@
 
 #include <boost/config.hpp>
 
-#if !defined(BOOST_NO_RVALUE_REFERENCES)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
 
 #include <boost/fusion/container/vector/vector.hpp>
 
@@ -22,7 +22,7 @@
 int
 main()
 {
-#if !defined(BOOST_NO_RVALUE_REFERENCES)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
     test();
 #endif
 

Modified: trunk/libs/spirit/example/qi/typeof.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/typeof.cpp (original)
+++ trunk/libs/spirit/example/qi/typeof.cpp 2012-11-26 13:44:46 EST (Mon, 26 Nov 2012)
@@ -25,7 +25,7 @@
 
 ///////////////////////////////////////////////////////////////////////////////
 // this works for non-c++11 compilers
-#ifdef BOOST_NO_AUTO_DECLARATIONS
+#ifdef BOOST_NO_CXX11_AUTO_DECLARATIONS
 
     BOOST_SPIRIT_AUTO(qi, comment, "/*" >> *(char_ - "*/") >> "*/");
 


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