2 #ifndef BOOST_MPL_MAP_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
3 #define BOOST_MPL_MAP_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2003-2004
6 // Copyright David Abrahams 2003-2004
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)
12 // See http://www.boost.org/libs/mpl for documentation.
18 #include <boost/mpl/erase_key_fwd.hpp>
19 #include <boost/mpl/map/aux_/has_key_impl.hpp>
20 #include <boost/mpl/map/aux_/item.hpp>
21 #include <boost/mpl/map/aux_/tag.hpp>
22 #include <boost/mpl/identity.hpp>
23 #include <boost/mpl/base.hpp>
24 #include <boost/mpl/eval_if.hpp>
26 #include <boost/type_traits/is_same.hpp>
28 namespace boost { namespace mpl {
31 struct erase_key_impl< aux::map_tag >
39 has_key_impl<aux::map_tag>::apply<Map,Key>
41 is_same< Key,typename Map::key_ >
43 , identity< m_mask<Key,Map> >
53 #endif // BOOST_MPL_MAP_AUX_ERASE_KEY_IMPL_HPP_INCLUDED