Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp @ 94:12a7ba9fa2b4
Remove subrepos that require auth
author | Chris Cannam |
---|---|
date | Tue, 21 Apr 2015 12:20:00 +0100 |
parents | 2665513ce2d3 |
children | c530137014c0 |
rev | line source |
---|---|
Chris@16 | 1 /*============================================================================= |
Chris@16 | 2 Copyright (c) 2001-2011 Joel de Guzman |
Chris@16 | 3 Copyright (c) 2011 Brandon Kohn |
Chris@16 | 4 |
Chris@16 | 5 Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 7 ==============================================================================*/ |
Chris@16 | 8 #if !defined(BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP) |
Chris@16 | 9 #define BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP |
Chris@16 | 10 |
Chris@16 | 11 #include <boost/mpl/at.hpp> |
Chris@16 | 12 |
Chris@16 | 13 namespace boost { namespace fusion |
Chris@16 | 14 { |
Chris@16 | 15 struct map_tag; |
Chris@16 | 16 |
Chris@16 | 17 namespace extension |
Chris@16 | 18 { |
Chris@16 | 19 template <typename Tag> |
Chris@16 | 20 struct value_at_impl; |
Chris@16 | 21 |
Chris@16 | 22 template <> |
Chris@16 | 23 struct value_at_impl<map_tag> |
Chris@16 | 24 { |
Chris@16 | 25 template <typename Sequence, typename N> |
Chris@16 | 26 struct apply |
Chris@16 | 27 { |
Chris@16 | 28 typedef typename mpl::at<typename Sequence::storage_type::types, N>::type type; |
Chris@16 | 29 }; |
Chris@16 | 30 }; |
Chris@16 | 31 } |
Chris@16 | 32 }} |
Chris@16 | 33 |
Chris@16 | 34 #endif //BOOST_FUSION_MAP_DETAIL_VALUE_AT_IMPL_HPP |