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/algorithm/transformation | |
| parent | 38b0cb785fea8eae5e48fae56440695fdfd10ee1 (diff) | |
| download | swift-contrib-6b22dfcf59474dd016a0355a3102a1dd3692d92c.zip swift-contrib-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/algorithm/transformation')
11 files changed, 31 insertions, 0 deletions
| diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase.hpp index 6ad737f..6ffdb4d 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_ERASE_07232005_0534)  #define FUSION_ERASE_07232005_0534 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/iterator/equal_to.hpp>  #include <boost/fusion/iterator/mpl/convert_iterator.hpp>  #include <boost/fusion/container/vector/vector10.hpp> @@ -37,18 +38,21 @@ namespace boost { namespace fusion                  >::type              type; +            BOOST_FUSION_GPU_ENABLED              static type              call(First const& first, mpl::false_)              {                  return fusion::next(convert_iterator<First>::call(first));              } +            BOOST_FUSION_GPU_ENABLED              static type              call(First const& first, mpl::true_)              {                  return convert_iterator<First>::call(first);              } +            BOOST_FUSION_GPU_ENABLED              static type              call(First const& first)              { @@ -95,6 +99,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename First> +    BOOST_FUSION_GPU_ENABLED      typename           lazy_enable_if<              traits::is_sequence<Sequence> @@ -117,6 +122,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename First, typename Last> +    BOOST_FUSION_GPU_ENABLED      typename result_of::erase<Sequence const, First, Last>::type      erase(Sequence const& seq, First const& first, Last const& last)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase_key.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase_key.hpp index 383f4f8..4334004 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase_key.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/erase_key.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_ERASE_KEY_10022005_1851)  #define FUSION_ERASE_KEY_10022005_1851 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/algorithm/query/find.hpp>  #include <boost/fusion/algorithm/transformation/erase.hpp>  #include <boost/mpl/not.hpp> @@ -23,6 +24,7 @@ namespace boost { namespace fusion      }      template <typename Key, typename Sequence> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::erase_key<Sequence const, Key>::type      erase_key(Sequence const& seq)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/filter_if.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/filter_if.hpp index d989d30..1b9f0d3 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/filter_if.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/filter_if.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_FILTER_IF_07172005_0818)  #define FUSION_FILTER_IF_07172005_0818 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/view/filter_view/filter_view.hpp>  namespace boost { namespace fusion @@ -21,6 +22,7 @@ namespace boost { namespace fusion      }      template <typename Pred, typename Sequence> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::filter_if<Sequence const, Pred>::type      filter_if(Sequence const& seq)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert.hpp index 2052fc0..7859022 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_INSERT_07222005_0730)  #define FUSION_INSERT_07222005_0730 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/support/detail/as_fusion_element.hpp>  #include <boost/fusion/iterator/mpl/convert_iterator.hpp>  #include <boost/fusion/container/vector/vector10.hpp> @@ -40,6 +41,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename Position, typename T> +    BOOST_FUSION_GPU_ENABLED      inline       typename          lazy_enable_if< diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert_range.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert_range.hpp index f70a78e..660ed17 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert_range.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/insert_range.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_INSERT_RANGE_009172005_1147)  #define FUSION_INSERT_RANGE_009172005_1147 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/iterator/mpl/convert_iterator.hpp>  #include <boost/fusion/container/vector/vector10.hpp>  #include <boost/fusion/view/joint_view/joint_view.hpp> @@ -35,6 +36,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename Position, typename Range> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::insert_range<Sequence const, Position, Range const>::type      insert_range(Sequence const& seq, Position const& pos, Range const& range)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_back.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_back.hpp index 6059c55..b20b500 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_back.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_back.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_POP_BACK_09172005_1038)  #define FUSION_POP_BACK_09172005_1038 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/view/iterator_range/iterator_range.hpp>  #include <boost/fusion/sequence/intrinsic/begin.hpp>  #include <boost/fusion/sequence/intrinsic/end.hpp> @@ -32,6 +33,7 @@ namespace boost { namespace fusion          static bool const is_last = IsLast; +        BOOST_FUSION_GPU_ENABLED          pop_back_iterator(Iterator_ const& iterator_base)              : base_type(iterator_base) {} @@ -40,6 +42,7 @@ namespace boost { namespace fusion          {              typedef pop_back_iterator<BaseIterator, is_last> type; +            BOOST_FUSION_GPU_ENABLED              static type              call(BaseIterator const& i)              { @@ -91,6 +94,7 @@ namespace boost { namespace fusion              typedef pop_back_iterator<base_prior, false> type; +            BOOST_FUSION_GPU_ENABLED              static type              call(Iterator const& i)              { @@ -112,6 +116,7 @@ namespace boost { namespace fusion              typedef pop_back_iterator<base_prior, false> type; +            BOOST_FUSION_GPU_ENABLED              static type              call(Iterator const& i)              { @@ -147,6 +152,7 @@ namespace boost { namespace fusion      }      template <typename Sequence> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::pop_back<Sequence const>::type      pop_back(Sequence const& seq)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_front.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_front.hpp index 75e392c..636ab12 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_front.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/pop_front.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_POP_FRONT_09172005_1115)  #define FUSION_POP_FRONT_09172005_1115 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/view/iterator_range/iterator_range.hpp>  #include <boost/fusion/sequence/intrinsic/begin.hpp>  #include <boost/fusion/sequence/intrinsic/end.hpp> @@ -31,6 +32,7 @@ namespace boost { namespace fusion      }      template <typename Sequence> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::pop_front<Sequence const>::type      pop_front(Sequence const& seq)      { diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_back.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_back.hpp index 9afe538..484425d 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_back.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_back.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_PUSH_BACK_07162005_0235)  #define FUSION_PUSH_BACK_07162005_0235 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/support/detail/as_fusion_element.hpp>  #include <boost/fusion/view/joint_view/joint_view.hpp>  #include <boost/fusion/view/single_view/single_view.hpp> @@ -26,6 +27,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename T> +    BOOST_FUSION_GPU_ENABLED      inline       typename          lazy_enable_if< diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_front.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_front.hpp index abe7faa..bda056b 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_front.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/push_front.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_PUSH_FRONT_07162005_0749)  #define FUSION_PUSH_FRONT_07162005_0749 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/support/detail/as_fusion_element.hpp>  #include <boost/fusion/view/joint_view/joint_view.hpp>  #include <boost/fusion/view/single_view/single_view.hpp> @@ -26,6 +27,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename T> +    BOOST_FUSION_GPU_ENABLED      inline       typename          lazy_enable_if< diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/reverse.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/reverse.hpp index 923b90f..384224d 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/reverse.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/reverse.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_REVERSE_07212005_1230)  #define FUSION_REVERSE_07212005_1230 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/view/reverse_view/reverse_view.hpp>  #include <boost/fusion/support/is_sequence.hpp>  #include <boost/utility/enable_if.hpp> @@ -23,6 +24,7 @@ namespace boost { namespace fusion      }      template <typename Sequence> +    BOOST_FUSION_GPU_ENABLED      inline       typename          enable_if< diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/transform.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/transform.hpp index 85e8561..94e4546 100644 --- a/3rdParty/Boost/src/boost/fusion/algorithm/transformation/transform.hpp +++ b/3rdParty/Boost/src/boost/fusion/algorithm/transformation/transform.hpp @@ -7,6 +7,7 @@  #if !defined(FUSION_TRANSFORM_07052005_1057)  #define FUSION_TRANSFORM_07052005_1057 +#include <boost/fusion/support/config.hpp>  #include <boost/fusion/view/transform_view/transform_view.hpp>  namespace boost { namespace fusion @@ -33,6 +34,7 @@ namespace boost { namespace fusion      }      template <typename Sequence, typename F> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::transform<Sequence const, F>::type      transform(Sequence const& seq, F f)      { @@ -40,6 +42,7 @@ namespace boost { namespace fusion      }      template <typename Sequence1, typename Sequence2, typename F> +    BOOST_FUSION_GPU_ENABLED      inline typename result_of::transform<Sequence1 const, Sequence2 const, F>::type      transform(Sequence1 const& seq1, Sequence2 const& seq2, F f)      { | 
 Swift
 Swift