2 #ifndef BOOST_MPL_MAP_AUX_CONTAINS_IMPL_HPP_INCLUDED
3 #define BOOST_MPL_MAP_AUX_CONTAINS_IMPL_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2003-2004
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
17 #include <boost/mpl/contains_fwd.hpp>
18 #include <boost/mpl/if.hpp>
19 #include <boost/mpl/map/aux_/at_impl.hpp>
20 #include <boost/mpl/map/aux_/tag.hpp>
22 #include <boost/type_traits/is_same.hpp>
24 namespace boost { namespace mpl {
27 struct contains_impl< aux::map_tag >
29 template< typename Map, typename Pair > struct apply
31 typename at_impl<aux::map_tag>::apply<
33 , typename Pair::first
35 , typename Pair::second
43 #endif // BOOST_MPL_MAP_AUX_CONTAINS_IMPL_HPP_INCLUDED