diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-19 20:22:58 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2014-10-20 13:49:33 (GMT) |
commit | 6b22dfcf59474dd016a0355a3102a1dd3692d92c (patch) | |
tree | 2b1fd33be433a91e81fee84fdc2bf1b52575d934 /3rdParty/Boost/src/boost/fusion/view/single_view | |
parent | 38b0cb785fea8eae5e48fae56440695fdfd10ee1 (diff) | |
download | swift-6b22dfcf59474dd016a0355a3102a1dd3692d92c.zip swift-6b22dfcf59474dd016a0355a3102a1dd3692d92c.tar.bz2 |
Update Boost in 3rdParty to version 1.56.0.
This updates Boost in our 3rdParty directory to version 1.56.0.
Updated our update.sh script to stop on error.
Changed error reporting in SwiftTools/CrashReporter.cpp to SWIFT_LOG due to
missing include of <iostream> with newer Boost.
Change-Id: I4b35c77de951333979a524097f35f5f83d325edc
Diffstat (limited to '3rdParty/Boost/src/boost/fusion/view/single_view')
13 files changed, 25 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/advance_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/advance_impl.hpp index d0846ec..9dd9e4d 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/advance_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/advance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_ADVANCE_IMPL_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_ADVANCE_IMPL_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/plus.hpp> namespace boost { namespace fusion @@ -33,6 +34,7 @@ namespace boost { namespace fusion typename mpl::plus<typename Iterator::position, Dist>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/at_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/at_impl.hpp index 3e0915f..b63497c 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/at_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_AT_IMPL_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_AT_IMPL_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> @@ -30,6 +31,7 @@ namespace boost { namespace fusion BOOST_MPL_ASSERT((mpl::equal_to<N, mpl::int_<0> >)); typedef typename Sequence::value_type type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/begin_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/begin_impl.hpp index eb1a3ee..63e4292 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/begin_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/begin_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_BEGIN_IMPL_05052005_0305) #define BOOST_FUSION_SINGLE_VIEW_BEGIN_IMPL_05052005_0305 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> namespace boost { namespace fusion @@ -30,6 +31,7 @@ namespace boost { namespace fusion { typedef single_view_iterator<Sequence, mpl::int_<0> > type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/deref_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/deref_impl.hpp index b5b37a6..ad50a41 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/deref_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/deref_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_DEREF_IMPL_05052005_0258) #define BOOST_FUSION_SINGLE_VIEW_DEREF_IMPL_05052005_0258 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> @@ -30,6 +31,7 @@ namespace boost { namespace fusion BOOST_MPL_ASSERT((mpl::equal_to<typename Iterator::position, mpl::int_<0> >)); typedef typename Iterator::value_type type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/distance_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/distance_impl.hpp index fec204c..73231b4 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/distance_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/distance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_DISTANCE_IMPL_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_DISTANCE_IMPL_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/minus.hpp> namespace boost { namespace fusion @@ -29,6 +30,7 @@ namespace boost { namespace fusion typedef typename mpl::minus<typename Last::position, typename First::position>::type type; + BOOST_FUSION_GPU_ENABLED static type call(First const& /*first*/, Last const& /*last*/) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/end_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/end_impl.hpp index e069b24..50a7c56 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/end_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/end_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_END_IMPL_05052005_0332) #define BOOST_FUSION_SINGLE_VIEW_END_IMPL_05052005_0332 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> namespace boost { namespace fusion @@ -30,6 +31,7 @@ namespace boost { namespace fusion { typedef single_view_iterator<Sequence, mpl::int_<1> > type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence& seq) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/equal_to_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/equal_to_impl.hpp index c9a7ebd..a14b4c5 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/equal_to_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/equal_to_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_ITERATOR_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_ITERATOR_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> #include <boost/type_traits/is_same.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/next_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/next_impl.hpp index 1ebc502..d5e0ac8 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/next_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/next_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_NEXT_IMPL_05052005_0331) #define BOOST_FUSION_SINGLE_VIEW_NEXT_IMPL_05052005_0331 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/next.hpp> #include <boost/static_assert.hpp> @@ -34,6 +35,7 @@ namespace boost { namespace fusion typename mpl::next<typename Iterator::position>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/prior_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/prior_impl.hpp index ece6795..c34e481 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/prior_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/prior_impl.hpp @@ -7,6 +7,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_PRIOR_IMPL_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_PRIOR_IMPL_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/prior.hpp> namespace boost { namespace fusion @@ -32,6 +33,7 @@ namespace boost { namespace fusion typename mpl::prior<typename Iterator::position>::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_at_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_at_impl.hpp index a8c20ad..b5721b8 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_at_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_VALUE_AT_IMPL_JUL_07_2011_1348PM) #define BOOST_FUSION_SINGLE_VIEW_VALUE_AT_IMPL_JUL_07_2011_1348PM +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_of_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_of_impl.hpp index 81e8817..dfb345c 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_of_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/detail/value_of_impl.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_VALUE_OF_IMPL_05052005_0324) #define BOOST_FUSION_SINGLE_VIEW_VALUE_OF_IMPL_05052005_0324 +#include <boost/fusion/support/config.hpp> #include <boost/mpl/int.hpp> #include <boost/mpl/assert.hpp> #include <boost/mpl/equal_to.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp index 5e7e5ab..36c2c93 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_05052005_0335) #define BOOST_FUSION_SINGLE_VIEW_05052005_0335 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/fusion/support/detail/as_fusion_element.hpp> #include <boost/fusion/support/sequence_base.hpp> @@ -42,16 +43,18 @@ namespace boost { namespace fusion typedef mpl::int_<1> size; typedef T value_type; + BOOST_FUSION_GPU_ENABLED single_view() : val() {} - explicit single_view(typename detail::call_param<T>::type in_val) + BOOST_FUSION_GPU_ENABLED explicit single_view(typename detail::call_param<T>::type in_val) : val(in_val) {} value_type val; }; template <typename T> + BOOST_FUSION_GPU_ENABLED inline single_view<typename detail::as_fusion_element<T>::type> make_single_view(T const& v) { diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view_iterator.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view_iterator.hpp index 77b508a..128c1ca 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view_iterator.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view_iterator.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_ITERATOR_05052005_0340) #define BOOST_FUSION_SINGLE_VIEW_ITERATOR_05052005_0340 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/fusion/support/iterator_base.hpp> #include <boost/fusion/view/single_view/detail/deref_impl.hpp> @@ -39,7 +40,7 @@ namespace boost { namespace fusion typedef Pos position; typedef SingleView single_view_type; - explicit single_view_iterator(single_view_type& in_view) + BOOST_FUSION_GPU_ENABLED explicit single_view_iterator(single_view_type& in_view) : view(in_view) {} SingleView& view; |