1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2011 Brandon Kohn
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP)
9 #define BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/mpl/at.hpp>
14 namespace boost { namespace fusion
20 template <typename Tag>
24 struct value_at_impl<map_tag>
26 template <typename Sequence, typename N>
29 typedef typename mpl::at<typename Sequence::storage_type::types, N>::type type;
35 #endif //BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP