]>
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_CATEGORY_OF_IMPL_04202013_0940) | |
8 | #define BOOST_FUSION_CATEGORY_OF_IMPL_04202013_0940 | |
9 | ||
10 | namespace boost { namespace fusion | |
11 | { | |
12 | struct std_tuple_tag; | |
13 | struct random_access_traversal_tag; | |
14 | ||
15 | namespace extension | |
16 | { | |
17 | template<typename T> | |
18 | struct category_of_impl; | |
19 | ||
20 | template<> | |
21 | struct category_of_impl<std_tuple_tag> | |
22 | { | |
23 | template<typename T> | |
24 | struct apply | |
25 | { | |
26 | typedef random_access_traversal_tag type; | |
27 | }; | |
28 | }; | |
29 | } | |
30 | }} | |
31 | ||
32 | #endif |