1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_CLEAR_10022005_1442)
8 #define FUSION_CLEAR_10022005_1442
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/vector/vector_fwd.hpp>
12 #include <boost/fusion/container/list/list_fwd.hpp>
13 #include <boost/fusion/container/map/map_fwd.hpp>
14 #include <boost/fusion/container/set/set_fwd.hpp>
15 #include <boost/fusion/container/deque/deque_fwd.hpp>
17 namespace boost { namespace fusion
27 template <typename Tag>
31 struct clear<cons_tag> : mpl::identity<list<> > {};
34 struct clear<map_tag> : mpl::identity<map<> > {};
37 struct clear<set_tag> : mpl::identity<set<> > {};
40 struct clear<vector_tag> : mpl::identity<vector<> > {};
43 struct clear<deque_tag> : mpl::identity<deque<> > {};