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/reverse_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/reverse_view')
15 files changed, 26 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/advance_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/advance_impl.hpp index cd0a730..1304d0a 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/advance_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/advance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_ADVANCE_IMPL_14122005_2015) #define FUSION_ADVANCE_IMPL_14122005_2015 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/advance.hpp> #include <boost/mpl/negate.hpp> @@ -34,6 +35,7 @@ namespace boost { namespace fusion { typedef typename result_of::advance<first_type, negative_dist>::type advanced_type; typedef reverse_view_iterator<advanced_type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/at_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/at_impl.hpp index 2e84259..ebad8f3 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/at_impl.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_AT_IMPL_HPP #define BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_AT_IMPL_HPP +#include <boost/fusion/support/config.hpp> #include <boost/fusion/sequence/intrinsic/at.hpp> #include <boost/mpl/minus.hpp> #include <boost/mpl/int.hpp> @@ -29,6 +30,7 @@ namespace boost { namespace fusion { namespace extension result_of::at<typename Seq::seq_type, real_n>::type type; + BOOST_FUSION_GPU_ENABLED static type call(Seq& seq) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/begin_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/begin_impl.hpp index 5c83eef..2f20df5 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/begin_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/begin_impl.hpp @@ -27,6 +27,7 @@ namespace boost { namespace fusion { typedef reverse_view_iterator<typename Sequence::last_type> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence const& s) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp index 2f52bdd..20d381b 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_DEREF_DATA_IMPL_HPP #define BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_DEREF_DATA_IMPL_HPP +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/deref_data.hpp> namespace boost { namespace fusion { namespace extension @@ -25,6 +26,7 @@ namespace boost { namespace fusion { namespace extension result_of::deref_data<typename It::first_type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(It const& it) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_impl.hpp index 3a82145..530921f 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/deref_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_DEREF_IMPL_07202005_0851) #define FUSION_DEREF_IMPL_07202005_0851 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/deref.hpp> #include <boost/fusion/iterator/prior.hpp> @@ -33,6 +34,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/view/reverse_view/detail/distance_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/distance_impl.hpp index 13421d8..3a5fdc6 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/distance_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/distance_impl.hpp @@ -8,6 +8,7 @@ #if !defined(FUSION_DISTANCE_IMPL_14122005_2104) #define FUSION_DISTANCE_IMPL_14122005_2104 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/distance.hpp> namespace boost { namespace fusion { @@ -32,6 +33,7 @@ namespace boost { namespace fusion { typedef typename Last::first_type last_type; typedef typename result_of::distance<last_type, first_type>::type type; + BOOST_FUSION_GPU_ENABLED static type call(First const& first, Last const& last) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/end_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/end_impl.hpp index bf4ddfb..1747d64 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/end_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/end_impl.hpp @@ -27,6 +27,7 @@ namespace boost { namespace fusion { typedef reverse_view_iterator<typename Sequence::first_type> type; + BOOST_FUSION_GPU_ENABLED static type call(Sequence const& s) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/key_of_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/key_of_impl.hpp index 3d760fd..985e5fa 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/key_of_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/key_of_impl.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_KEY_OF_IMPL_HPP #define BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_KEY_OF_IMPL_HPP +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/key_of.hpp> namespace boost { namespace fusion { namespace extension diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/next_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/next_impl.hpp index 1881728..1aaa692 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/next_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/next_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_NEXT_IMPL_07202005_0856) #define FUSION_NEXT_IMPL_07202005_0856 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/next.hpp> #include <boost/fusion/iterator/prior.hpp> @@ -32,6 +33,7 @@ namespace boost { namespace fusion typedef reverse_view_iterator<typename wrapped::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/prior_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/prior_impl.hpp index 0142672..4007ad4 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/prior_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/prior_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_PRIOR_IMPL_07202005_0857) #define FUSION_PRIOR_IMPL_07202005_0857 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/next.hpp> #include <boost/fusion/iterator/prior.hpp> @@ -32,6 +33,7 @@ namespace boost { namespace fusion typedef reverse_view_iterator<typename wrapped::type> type; + BOOST_FUSION_GPU_ENABLED static type call(Iterator const& i) { diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_at_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_at_impl.hpp index 90f5129..76465fd 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_at_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_at_impl.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_VALUE_AT_IMPL_HPP #define BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_VALUE_AT_IMPL_HPP +#include <boost/fusion/support/config.hpp> #include <boost/fusion/sequence/intrinsic/value_at.hpp> #include <boost/mpl/minus.hpp> #include <boost/mpl/int.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp index 69d310f..a96d1ce 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp @@ -8,6 +8,7 @@ #ifndef BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_VALUE_OF_DATA_IMPL_HPP #define BOOST_FUSION_VIEW_REVERSE_VIEW_DETAIL_VALUE_OF_DATA_IMPL_HPP +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/value_of_data.hpp> namespace boost { namespace fusion { namespace extension diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_impl.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_impl.hpp index 3cb7258..ea171ba 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_impl.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/detail/value_of_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_VALUE_OF_IMPL_07202005_0900) #define FUSION_VALUE_OF_IMPL_07202005_0900 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/value_of.hpp> #include <boost/fusion/iterator/prior.hpp> diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view.hpp index e5716a4..3b134d5 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_REVERSE_VIEW_07202005_0836) #define FUSION_REVERSE_VIEW_07202005_0836 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/fusion/support/is_view.hpp> #include <boost/fusion/support/category_of.hpp> @@ -49,11 +50,14 @@ namespace boost { namespace fusion bidirectional_traversal_tag , typename traits::category_of<first_type>::type>::value)); + BOOST_FUSION_GPU_ENABLED reverse_view(Sequence& in_seq) : seq(in_seq) {} + BOOST_FUSION_GPU_ENABLED first_type first() const { return fusion::begin(seq); } + BOOST_FUSION_GPU_ENABLED last_type last() const { return fusion::end(seq); } typename mpl::if_<traits::is_view<Sequence>, Sequence, Sequence&>::type seq; diff --git a/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view_iterator.hpp b/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view_iterator.hpp index 4c24943..9de2169 100644 --- a/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view_iterator.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/reverse_view/reverse_view_iterator.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_REVERSE_VIEW_ITERATOR_07202005_0835) #define FUSION_REVERSE_VIEW_ITERATOR_07202005_0835 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/iterator_base.hpp> #include <boost/fusion/support/category_of.hpp> #include <boost/fusion/iterator/mpl/convert_iterator.hpp> @@ -41,6 +42,7 @@ namespace boost { namespace fusion bidirectional_traversal_tag , category>::value)); + BOOST_FUSION_GPU_ENABLED reverse_view_iterator(First const& in_first) : first(converter::call(in_first)) {} |