]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | #ifndef BOOST_MPL_MAP_AUX_ERASE_IMPL_HPP_INCLUDED | |
3 | #define BOOST_MPL_MAP_AUX_ERASE_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/erase_fwd.hpp> | |
19 | #include <boost/mpl/map/aux_/erase_key_impl.hpp> | |
20 | #include <boost/mpl/map/aux_/tag.hpp> | |
21 | ||
22 | namespace boost { namespace mpl { | |
23 | ||
24 | template<> | |
25 | struct erase_impl< aux::map_tag > | |
26 | { | |
27 | template< | |
28 | typename Map | |
29 | , typename Pos | |
30 | , typename unused_ | |
31 | > | |
32 | struct apply | |
33 | : erase_key_impl<aux::map_tag> | |
34 | ::apply<Map,typename Pos::type::first> | |
35 | { | |
36 | }; | |
37 | }; | |
38 | ||
39 | }} | |
40 | ||
41 | #endif // BOOST_MPL_MAP_AUX_ERASE_IMPL_HPP_INCLUDED |