Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/fusion/iterator/next.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 ==============================================================================*/ | 6 ==============================================================================*/ |
7 #if !defined(FUSION_NEXT_05042005_1101) | 7 #if !defined(FUSION_NEXT_05042005_1101) |
8 #define FUSION_NEXT_05042005_1101 | 8 #define FUSION_NEXT_05042005_1101 |
9 | 9 |
10 #include <boost/fusion/support/config.hpp> | |
10 #include <boost/fusion/support/tag_of.hpp> | 11 #include <boost/fusion/support/tag_of.hpp> |
11 | 12 |
12 namespace boost { namespace fusion | 13 namespace boost { namespace fusion |
13 { | 14 { |
14 // Special tags: | 15 // Special tags: |
51 template apply<Iterator> | 52 template apply<Iterator> |
52 {}; | 53 {}; |
53 } | 54 } |
54 | 55 |
55 template <typename Iterator> | 56 template <typename Iterator> |
56 typename result_of::next<Iterator>::type const | 57 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED |
58 inline typename result_of::next<Iterator>::type const | |
57 next(Iterator const& i) | 59 next(Iterator const& i) |
58 { | 60 { |
59 return result_of::next<Iterator>::call(i); | 61 return result_of::next<Iterator>::call(i); |
60 } | 62 } |
61 }} | 63 }} |