| 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(FUSION_SIZE_10022005_1617) |
| 8 | #define FUSION_SIZE_10022005_1617 |
| 9 | |
| 10 | #include <boost/fusion/support/config.hpp> |
| 11 | #include <boost/mpl/size.hpp> |
| 12 | #include <boost/fusion/sequence/intrinsic/size.hpp> |
| 13 | |
| 14 | namespace boost { namespace mpl |
| 15 | { |
| 16 | template <typename Tag> |
| 17 | struct size_impl; |
| 18 | |
| 19 | template <> |
| 20 | struct size_impl<fusion::fusion_sequence_tag> |
| 21 | { |
| 22 | template <typename Sequence> |
| 23 | struct apply : fusion::result_of::size<Sequence> {}; |
| 24 | }; |
| 25 | }} |
| 26 | |
| 27 | #endif |
| 28 |
