2 #ifndef BOOST_MPL_MAP_AUX_HAS_KEY_IMPL_HPP_INCLUDED
3 #define BOOST_MPL_MAP_AUX_HAS_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/has_key_fwd.hpp>
19 #include <boost/mpl/map/aux_/tag.hpp>
20 #include <boost/mpl/map/aux_/at_impl.hpp>
21 #include <boost/mpl/void.hpp>
22 #include <boost/mpl/aux_/config/typeof.hpp>
24 namespace boost { namespace mpl {
27 struct has_key_impl< aux::map_tag >
29 template< typename Map, typename Key > struct apply
30 #if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
32 typename at_impl<aux::map_tag>
33 ::apply<Map,Key>::type
36 : bool_< ( x_order_impl<Map,Key>::value > 1 ) >
44 #endif // BOOST_MPL_MAP_AUX_HAS_KEY_IMPL_HPP_INCLUDED