1
2#ifndef BOOST_MPL_MAP_AUX_KEY_TYPE_IMPL_HPP_INCLUDED
3#define BOOST_MPL_MAP_AUX_KEY_TYPE_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/key_type_fwd.hpp>
19#include <boost/mpl/pair.hpp>
20#include <boost/mpl/map/aux_/tag.hpp>
21
22namespace boost {
23namespace mpl {
24
25template<>
26struct key_type_impl< aux::map_tag >
27{
28 template< typename Map, typename T > struct apply
29 : first<T>
30 {
31 };
32};
33
34}}
35
36#endif // BOOST_MPL_MAP_AUX_KEY_TYPE_IMPL_HPP_INCLUDED
37

source code of boost/libs/mpl/include/boost/mpl/map/aux_/key_type_impl.hpp