]>
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_CATEGORY_OF_IMPL_27122005_1044) | |
9 | #define BOOST_FUSION_CATEGORY_OF_IMPL_27122005_1044 | |
10 | ||
11 | #include <boost/fusion/support/config.hpp> | |
12 | #include <boost/config/no_tr1/utility.hpp> | |
13 | ||
14 | namespace boost { namespace fusion { | |
15 | ||
16 | struct boost_array_tag; | |
17 | struct random_access_traversal_tag; | |
18 | ||
19 | namespace extension | |
20 | { | |
21 | template<typename T> | |
22 | struct category_of_impl; | |
23 | ||
24 | template<> | |
25 | struct category_of_impl<boost_array_tag> | |
26 | { | |
27 | template<typename T> | |
28 | struct apply | |
29 | { | |
30 | typedef random_access_traversal_tag type; | |
31 | }; | |
32 | }; | |
33 | } | |
34 | }} | |
35 | ||
36 | #endif |