value_type_impl.hpp 792 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef BOOST_MPL_MAP_AUX_VALUE_TYPE_IMPL_HPP_INCLUDED
  2. #define BOOST_MPL_MAP_AUX_VALUE_TYPE_IMPL_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2003-2004
  4. // Copyright David Abrahams 2003-2004
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // See http://www.boost.org/libs/mpl for documentation.
  11. // $Id$
  12. // $Date$
  13. // $Revision$
  14. #include <boost/mpl/value_type_fwd.hpp>
  15. #include <boost/mpl/pair.hpp>
  16. #include <boost/mpl/map/aux_/tag.hpp>
  17. namespace boost {
  18. namespace mpl {
  19. template<>
  20. struct value_type_impl< aux::map_tag >
  21. {
  22. template< typename Map, typename T > struct apply
  23. : second<T>
  24. {
  25. };
  26. };
  27. }}
  28. #endif // BOOST_MPL_MAP_AUX_VALUE_TYPE_IMPL_HPP_INCLUDED