Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/fusion/algorithm/query/find_fwd.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /*============================================================================= |
Chris@16 | 2 Copyright (c) 2011 Eric Niebler |
Chris@16 | 3 |
Chris@16 | 4 Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 ==============================================================================*/ |
Chris@16 | 7 #if !defined(BOOST_FUSION_FIND_FWD_HPP_INCLUDED) |
Chris@16 | 8 #define BOOST_FUSION_FIND_FWD_HPP_INCLUDED |
Chris@16 | 9 |
Chris@101 | 10 #include <boost/fusion/support/config.hpp> |
Chris@16 | 11 #include <boost/utility/enable_if.hpp> |
Chris@16 | 12 #include <boost/type_traits/is_const.hpp> |
Chris@16 | 13 |
Chris@16 | 14 namespace boost { namespace fusion |
Chris@16 | 15 { |
Chris@16 | 16 namespace result_of |
Chris@16 | 17 { |
Chris@16 | 18 template <typename Sequence, typename T> |
Chris@16 | 19 struct find; |
Chris@16 | 20 } |
Chris@16 | 21 |
Chris@16 | 22 template <typename T, typename Sequence> |
Chris@101 | 23 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED |
Chris@101 | 24 inline typename |
Chris@16 | 25 lazy_disable_if< |
Chris@16 | 26 is_const<Sequence> |
Chris@16 | 27 , result_of::find<Sequence, T> |
Chris@16 | 28 >::type const |
Chris@16 | 29 find(Sequence& seq); |
Chris@16 | 30 |
Chris@16 | 31 template <typename T, typename Sequence> |
Chris@101 | 32 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED |
Chris@16 | 33 inline typename result_of::find<Sequence const, T>::type const |
Chris@16 | 34 find(Sequence const& seq); |
Chris@16 | 35 }} |
Chris@16 | 36 |
Chris@16 | 37 #endif |