File indexing completed on 2025-01-18 09:31:09
0001
0002
0003
0004
0005
0006
0007
0008
0009 #if !defined(FUSION_ANY_05052005_1230)
0010 #define FUSION_ANY_05052005_1230
0011
0012 #include <boost/fusion/support/config.hpp>
0013 #include <boost/fusion/support/category_of.hpp>
0014 #include <boost/fusion/algorithm/query/detail/any.hpp>
0015
0016 namespace boost { namespace fusion
0017 {
0018 namespace result_of
0019 {
0020 template <typename Sequence, typename F>
0021 struct any
0022 {
0023 typedef bool type;
0024 };
0025 }
0026
0027 template <typename Sequence, typename F>
0028 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0029 inline bool
0030 any(Sequence const& seq, F f)
0031 {
0032 return detail::any(seq, f, typename traits::category_of<Sequence>::type());
0033 }
0034 }}
0035
0036 #endif
0037