source: NonGTP/Boost/boost/mpl/map/aux_/key_type_impl.hpp @ 857

Revision 857, 911 bytes checked in by igarcia, 18 years ago (diff)
Line 
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// $Source: /cvsroot/boost/boost/boost/mpl/map/aux_/key_type_impl.hpp,v $
15// $Date: 2004/09/02 15:41:00 $
16// $Revision: 1.2 $
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
Note: See TracBrowser for help on using the repository browser.