Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/fusion/sequence/intrinsic/empty.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_EMPTY_09162005_0335) | 7 #if !defined(FUSION_EMPTY_09162005_0335) |
8 #define FUSION_EMPTY_09162005_0335 | 8 #define FUSION_EMPTY_09162005_0335 |
9 | 9 |
10 #include <boost/fusion/support/config.hpp> | |
10 #include <boost/fusion/sequence/intrinsic_fwd.hpp> | 11 #include <boost/fusion/sequence/intrinsic_fwd.hpp> |
11 #include <boost/fusion/sequence/intrinsic/size.hpp> | 12 #include <boost/fusion/sequence/intrinsic/size.hpp> |
12 #include <boost/mpl/bool.hpp> | 13 #include <boost/mpl/bool.hpp> |
13 #include <boost/fusion/support/tag_of.hpp> | 14 #include <boost/fusion/support/tag_of.hpp> |
14 | 15 |
48 template apply<Sequence> | 49 template apply<Sequence> |
49 {}; | 50 {}; |
50 } | 51 } |
51 | 52 |
52 template <typename Sequence> | 53 template <typename Sequence> |
54 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED | |
53 inline typename result_of::empty<Sequence>::type | 55 inline typename result_of::empty<Sequence>::type |
54 empty(Sequence const&) | 56 empty(Sequence const&) |
55 { | 57 { |
56 typedef typename result_of::empty<Sequence>::type result; | 58 typedef typename result_of::empty<Sequence>::type result; |
57 return result(); | 59 return result(); |