forked from boostorg/fusion
Changed macro BOOST_PARTIAL_SPECIALIZATION_EXPLICIT_ARGS to BOOST_NO_PARTIAL_SPECIALIZATION_DEFAULT_ARGS.
Changed <utility> to <boost/config/no_tr1/utility.hpp> in order to prevent cyclic dependencies between Fusion Tuples and TR1. [SVN r44692]
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_27122005_1044)
|
||||
#define BOOST_FUSION_CATEGORY_OF_IMPL_27122005_1044
|
||||
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace boost { namespace fusion
|
||||
namespace traits
|
||||
{
|
||||
template<typename T, std::size_t N>
|
||||
#if defined(BOOST_PARTIAL_SPECIALIZATION_EXPLICT_ARGS)
|
||||
#if defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
|
||||
struct tag_of<boost::array<T,N>, void >
|
||||
#else
|
||||
struct tag_of<boost::array<T,N> >
|
||||
|
@ -33,7 +33,7 @@ namespace boost { namespace fusion
|
||||
class T0, class T1, class T2, class T3, class T4,
|
||||
class T5, class T6, class T7, class T8, class T9
|
||||
>
|
||||
#if defined(BOOST_PARTIAL_SPECIALIZATION_EXPLICT_ARGS)
|
||||
#if defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
|
||||
struct tag_of<tuples::tuple<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, void >
|
||||
#else
|
||||
struct tag_of<tuples::tuple<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> >
|
||||
@ -43,7 +43,7 @@ namespace boost { namespace fusion
|
||||
};
|
||||
|
||||
template <class Head, class Tail>
|
||||
#if defined(BOOST_PARTIAL_SPECIALIZATION_EXPLICT_ARGS)
|
||||
#if defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
|
||||
struct tag_of<tuples::cons<Head, Tail>, void >
|
||||
#else
|
||||
struct tag_of<tuples::cons<Head, Tail> >
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <boost/fusion/support/tag_of_fwd.hpp>
|
||||
#include <boost/fusion/adapted/struct.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
@ -20,7 +20,7 @@ namespace boost { namespace fusion
|
||||
namespace traits
|
||||
{
|
||||
template <typename T1, typename T2>
|
||||
#if defined(BOOST_PARTIAL_SPECIALIZATION_EXPLICT_ARGS)
|
||||
#if defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
|
||||
struct tag_of<std::pair<T1, T2>, void >
|
||||
#else
|
||||
struct tag_of<std::pair<T1, T2> >
|
||||
|
@ -8,7 +8,7 @@
|
||||
#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_24122005_1731)
|
||||
#define BOOST_FUSION_CATEGORY_OF_IMPL_24122005_1731
|
||||
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <boost/mpl/minus.hpp>
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <boost/fusion/support/tag_of_fwd.hpp>
|
||||
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||
#include <boost/preprocessor/cat.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion { namespace extension {
|
||||
template<typename Struct, typename Key>
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||
#include <boost/preprocessor/cat.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
#define BOOST_FUSION_ADAPT_STRUCT(name, bseq) \
|
||||
BOOST_FUSION_ADAPT_STRUCT_I( \
|
||||
|
@ -8,7 +8,7 @@
|
||||
#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_24122005_1731)
|
||||
#define BOOST_FUSION_CATEGORY_OF_IMPL_24122005_1731
|
||||
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/int.hpp>
|
||||
#include <boost/mpl/minus.hpp>
|
||||
#include <utility>
|
||||
#include <boost/config/no_tr1/utility.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
Reference in New Issue
Block a user