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_NONE_07062005_1128)
0009 #define BOOST_FUSION_NONE_07062005_1128
0010 
0011 #include <boost/fusion/support/config.hpp>
0012 #include <boost/fusion/algorithm/query/any.hpp>
0013 
0014 namespace boost { namespace fusion
0015 {
0016     namespace result_of
0017     {
0018         template <typename Sequence, typename F>
0019         struct none
0020         {
0021             typedef bool type;
0022         };
0023     }
0024 
0025     template <typename Sequence, typename F>
0026     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0027     inline bool
0028     none(Sequence const& seq, F f)
0029     {
0030         return !fusion::any(seq, f);
0031     }
0032 }}
0033 
0034 #endif
0035