Removed usage of deprecated macros in Boost.Fusion and Boost.Spirit

[SVN r81569]
This commit is contained in:
Marshall Clow
2012-11-26 18:44:46 +00:00
parent e1819c11b2
commit 8d6200ef58
5 changed files with 7 additions and 7 deletions

View File

@ -75,7 +75,7 @@ main()
//~ 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");

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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