mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-17 06:12:18 +02:00
Removed usage of deprecated macros in Boost.Fusion and Boost.Spirit
[SVN r81569]
This commit is contained in:
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user