Back to home page

EIC code displayed by LXR

 
 

    


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

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