1
2#ifndef BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
3#define BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
4
5// Copyright Aleksey Gurtovoy 2003-2004
6// Copyright David Abrahams 2003-2004
7//
8// Distributed under the Boost Software License, Version 1.0.
9// (See accompanying file LICENSE_1_0.txt or copy at
10// http://www.boost.org/LICENSE_1_0.txt)
11//
12// See http://www.boost.org/libs/mpl for documentation.
13
14// $Id$
15// $Date$
16// $Revision$
17
18#include <boost/mpl/clear_fwd.hpp>
19#include <boost/mpl/map/aux_/map0.hpp>
20#include <boost/mpl/map/aux_/tag.hpp>
21
22namespace boost { namespace mpl {
23
24template<>
25struct clear_impl< aux::map_tag >
26{
27 template< typename Map > struct apply
28 {
29 typedef map0<> type;
30 };
31};
32
33}}
34
35#endif // BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
36

source code of include/boost/mpl/map/aux_/clear_impl.hpp