diff options
Diffstat (limited to '3rdParty/Boost/src/boost/fusion/container/list/detail')
11 files changed, 35 insertions, 11 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/at_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/at_impl.hpp index 7574639..b768852 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/at_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_AT_IMPL_07172005_0726) #define FUSION_AT_IMPL_07172005_0726 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/type_traits/is_const.hpp> #include <boost/type_traits/add_const.hpp> @@ -106,6 +107,7 @@ namespace boost { namespace fusion type; template <typename Cons, int N2> + BOOST_FUSION_GPU_ENABLED static type call(Cons& s, mpl::int_<N2>) { @@ -113,12 +115,14 @@ namespace boost { namespace fusion } template <typename Cons> + BOOST_FUSION_GPU_ENABLED static type call(Cons& s, mpl::int_<0>) { return s.car; } + BOOST_FUSION_GPU_ENABLED static type call(Sequence& s) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/begin_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/begin_impl.hpp index 571e681..a302234 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/begin_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/begin_impl.hpp @@ -8,12 +8,13 @@ #if !defined(FUSION_BEGIN_IMPL_07172005_0824) #define FUSION_BEGIN_IMPL_07172005_0824 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/if.hpp> #include <boost/type_traits/is_const.hpp> namespace boost { namespace fusion { - struct nil; + struct nil_; struct cons_tag; @@ -36,6 +37,7 @@ namespace boost { namespace fusion { typedef cons_iterator<Sequence> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& t) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/build_cons.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/build_cons.hpp index ef48652..0f40700 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/build_cons.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/build_cons.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_BUILD_CONS_09232005_1222) #define FUSION_BUILD_CONS_09232005_1222 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/container/list/cons.hpp> #include <boost/fusion/iterator/equal_to.hpp> #include <boost/fusion/iterator/next.hpp> @@ -24,12 +25,13 @@ namespace boost { namespace fusion { namespace detail template <typename First, typename Last> struct build_cons<First, Last, true> { - typedef nil type; + typedef nil_ type; - static nil + BOOST_FUSION_GPU_ENABLED + static nil_ call(First const&, Last const&) { - return nil(); + return nil_(); } }; @@ -45,6 +47,7 @@ namespace boost { namespace fusion { namespace detail , typename next_build_cons::type> type; + BOOST_FUSION_GPU_ENABLED static type call(First const& f, Last const& l) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/convert_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/convert_impl.hpp index 19e5fc2..000280e 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/convert_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/convert_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_CONVERT_IMPL_09232005_1215) #define FUSION_CONVERT_IMPL_09232005_1215 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/container/list/cons.hpp> #include <boost/fusion/container/list/detail/build_cons.hpp> #include <boost/fusion/sequence/intrinsic/empty.hpp> @@ -38,6 +39,7 @@ namespace boost { namespace fusion typedef typename build_cons::type type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/deref_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/deref_impl.hpp index a5f75ea..aefffd7 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/deref_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/deref_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_DEREF_IMPL_07172005_0831) #define FUSION_DEREF_IMPL_07172005_0831 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/eval_if.hpp> #include <boost/type_traits/is_const.hpp> #include <boost/type_traits/add_const.hpp> @@ -37,6 +38,7 @@ namespace boost { namespace fusion , add_reference<value_type> >::type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/empty_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/empty_impl.hpp index 5c92c73..e25eab0 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/empty_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/empty_impl.hpp @@ -7,13 +7,15 @@ #if !defined(BOOST_FUSION_SEQUENCE_EMPTY_IMPL_HPP_INCLUDED) #define BOOST_FUSION_SEQUENCE_EMPTY_IMPL_HPP_INCLUDED +#include <boost/fusion/support/config.hpp> #include <boost/type_traits/is_convertible.hpp> +#include <boost/fusion/container/list/nil.hpp> namespace boost { namespace fusion { struct cons_tag; - struct nil; + struct nil_; template <typename Car, typename Cdr> struct cons; @@ -28,7 +30,7 @@ namespace boost { namespace fusion { template <typename Sequence> struct apply - : boost::is_convertible<Sequence, nil> + : boost::is_convertible<Sequence, nil_> {}; }; } diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/end_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/end_impl.hpp index 3792250..9220d24 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/end_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/end_impl.hpp @@ -8,12 +8,13 @@ #if !defined(FUSION_END_IMPL_07172005_0828) #define FUSION_END_IMPL_07172005_0828 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/if.hpp> #include <boost/type_traits/is_const.hpp> namespace boost { namespace fusion { - struct nil; + struct nil_; struct cons_tag; @@ -35,9 +36,10 @@ namespace boost { namespace fusion struct apply { typedef cons_iterator< - typename mpl::if_<is_const<Sequence>, nil const, nil>::type> + typename mpl::if_<is_const<Sequence>, nil_ const, nil_>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence&) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/equal_to_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/equal_to_impl.hpp index a4d5929..0cbb6be 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/equal_to_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/equal_to_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_EQUAL_TO_IMPL_09172005_1120) #define FUSION_EQUAL_TO_IMPL_09172005_1120 +#include <boost/fusion/support/config.hpp> #include <boost/type_traits/is_same.hpp> #include <boost/mpl/equal_to.hpp> #include <boost/mpl/and.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/next_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/next_impl.hpp index 71006e5..7383a96 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/next_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/next_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_NEXT_IMPL_07172005_0836) #define FUSION_NEXT_IMPL_07172005_0836 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/next.hpp> #include <boost/fusion/iterator/equal_to.hpp> #include <boost/mpl/eval_if.hpp> @@ -44,6 +45,7 @@ namespace boost { namespace fusion >::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/reverse_cons.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/reverse_cons.hpp index 59178e8..f80e2c2 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/reverse_cons.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/reverse_cons.hpp @@ -7,12 +7,13 @@ #if !defined(BOOST_FUSION_REVERSE_CONS_HPP_INCLUDED) #define BOOST_FUSION_REVERSE_CONS_HPP_INCLUDED +#include <boost/fusion/support/config.hpp> #include <boost/fusion/container/list/cons_fwd.hpp> namespace boost { namespace fusion { namespace detail { //////////////////////////////////////////////////////////////////////////// - template<typename Cons, typename State = nil> + template<typename Cons, typename State = nil_> struct reverse_cons; template<typename Car, typename Cdr, typename State> @@ -21,6 +22,7 @@ namespace boost { namespace fusion { namespace detail typedef reverse_cons<Cdr, cons<Car, State> > impl; typedef typename impl::type type; + BOOST_FUSION_GPU_ENABLED static type call(cons<Car, Cdr> const &cons, State const &state = State()) { typedef fusion::cons<Car, State> cdr_type; @@ -29,11 +31,12 @@ namespace boost { namespace fusion { namespace detail }; template<typename State> - struct reverse_cons<nil, State> + struct reverse_cons<nil_, State> { typedef State type; - static State const &call(nil const &, State const &state = State()) + BOOST_FUSION_GPU_ENABLED + static State const &call(nil_ const &, State const &state = State()) { return state; } diff --git a/3rdParty/Boost/src/boost/fusion/container/list/detail/value_at_impl.hpp b/3rdParty/Boost/src/boost/fusion/container/list/detail/value_at_impl.hpp index 353f8d5..ea9a859 100644 --- a/3rdParty/Boost/src/boost/fusion/container/list/detail/value_at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/container/list/detail/value_at_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_VALUE_AT_IMPL_07172005_0952) #define FUSION_VALUE_AT_IMPL_07172005_0952 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/type_traits/is_const.hpp> #include <boost/mpl/eval_if.hpp> |