]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2001-2011 Joel de Guzman | |
3 | Copyright (c) 2005-2006 Dan Marsden | |
4 | ||
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_STD_ARRAY_VALUE_AT_IMPL_01062013_1700) | |
9 | #define BOOST_FUSION_STD_ARRAY_VALUE_AT_IMPL_01062013_1700 | |
10 | ||
11 | namespace boost { namespace fusion { | |
12 | ||
13 | struct std_array_tag; | |
14 | ||
15 | namespace extension | |
16 | { | |
17 | template<typename T> | |
18 | struct value_at_impl; | |
19 | ||
20 | template <> | |
21 | struct value_at_impl<std_array_tag> | |
22 | { | |
23 | template <typename Sequence, typename N> | |
24 | struct apply | |
25 | { | |
26 | typedef typename Sequence::value_type type; | |
27 | }; | |
28 | }; | |
29 | } | |
30 | }} | |
31 | ||
32 | #endif |