]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2001-2011 Joel de Guzman | |
3 | ||
4 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | ==============================================================================*/ | |
7 | #if !defined(BOOST_FUSION_VALUE_AT_IMPL_09242011_1744) | |
8 | #define BOOST_FUSION_VALUE_AT_IMPL_09242011_1744 | |
9 | ||
10 | #include <boost/fusion/support/config.hpp> | |
11 | #include <tuple> | |
12 | ||
13 | namespace boost { namespace fusion | |
14 | { | |
15 | struct std_tuple_tag; | |
16 | ||
17 | namespace extension | |
18 | { | |
19 | template<typename T> | |
20 | struct value_at_impl; | |
21 | ||
22 | template <> | |
23 | struct value_at_impl<std_tuple_tag> | |
24 | { | |
25 | template <typename Sequence, typename N> | |
26 | struct apply : std::tuple_element<N::value, Sequence> {}; | |
27 | }; | |
28 | } | |
29 | }} | |
30 | ||
31 | #endif |