]>
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_SIZE_IMPL_27122005_1251) | |
9 | #define BOOST_FUSION_SIZE_IMPL_27122005_1251 | |
10 | ||
11 | namespace boost { namespace fusion { | |
12 | ||
13 | struct boost_array_tag; | |
14 | ||
15 | namespace extension | |
16 | { | |
17 | template<typename T> | |
18 | struct size_impl; | |
19 | ||
20 | template<> | |
21 | struct size_impl<boost_array_tag> | |
22 | { | |
23 | template<typename Sequence> | |
24 | struct apply : mpl::int_<Sequence::static_size> {}; | |
25 | }; | |
26 | } | |
27 | }} | |
28 | ||
29 | #endif |