Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:09

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003     Copyright (c) 2007 Dan Marsden
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #if !defined(BOOST_FUSION_ALL_05052005_1238)
0009 #define BOOST_FUSION_ALL_05052005_1238
0010 
0011 #include <boost/fusion/support/config.hpp>
0012 #include <boost/fusion/support/category_of.hpp>
0013 #include <boost/fusion/algorithm/query/detail/all.hpp>
0014 
0015 namespace boost { namespace fusion
0016 {
0017     namespace result_of
0018     {
0019         template <typename Sequence, typename F>
0020         struct all
0021         {
0022             typedef bool type;
0023         };
0024     }
0025 
0026     template <typename Sequence, typename F>
0027     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0028     inline bool
0029     all(Sequence const& seq, F f)
0030     {
0031         return detail::all(seq, f, typename traits::category_of<Sequence>::type());
0032     }
0033 }}
0034 
0035 #endif
0036