Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:42

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_10022005_1442)
0008 #define FUSION_CLEAR_10022005_1442
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/container/vector/vector_fwd.hpp>
0012 #include <boost/fusion/container/list/list_fwd.hpp>
0013 #include <boost/fusion/container/map/map_fwd.hpp>
0014 #include <boost/fusion/container/set/set_fwd.hpp>
0015 #include <boost/fusion/container/deque/deque_fwd.hpp>
0016 
0017 namespace boost { namespace fusion
0018 {
0019     struct cons_tag;
0020     struct map_tag;
0021     struct set_tag;
0022     struct vector_tag;
0023     struct deque_tag;
0024 
0025     namespace detail
0026     {
0027         template <typename Tag>
0028         struct clear;
0029 
0030         template <>
0031         struct clear<cons_tag> : mpl::identity<list<> > {};
0032 
0033         template <>
0034         struct clear<map_tag> : mpl::identity<map<> > {};
0035 
0036         template <>
0037         struct clear<set_tag> : mpl::identity<set<> > {};
0038 
0039         template <>
0040         struct clear<vector_tag> : mpl::identity<vector<> > {};
0041 
0042         template <>
0043         struct clear<deque_tag> : mpl::identity<deque<> > {};
0044     }
0045 }}
0046 
0047 #endif