Rev | Line | |
---|
[857] | 1 | /*=============================================================================
|
---|
| 2 | Copyright (c) 2003 Joel de Guzman
|
---|
| 3 |
|
---|
| 4 | Use, modification and distribution is subject to the Boost Software
|
---|
| 5 | License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
---|
| 6 | http://www.boost.org/LICENSE_1_0.txt)
|
---|
| 7 | ==============================================================================*/
|
---|
| 8 | #if !defined(FUSION_SEQUENCE_DETAIL_TUPLE_SIZE_TRAITS_HPP)
|
---|
| 9 | #define FUSION_SEQUENCE_DETAIL_TUPLE_SIZE_TRAITS_HPP
|
---|
| 10 |
|
---|
| 11 | namespace boost { namespace fusion
|
---|
| 12 | {
|
---|
| 13 | struct tuple_tag;
|
---|
| 14 |
|
---|
| 15 | namespace meta
|
---|
| 16 | {
|
---|
| 17 | template <typename Tag>
|
---|
| 18 | struct size_impl;
|
---|
| 19 |
|
---|
| 20 | template <>
|
---|
| 21 | struct size_impl<tuple_tag>
|
---|
| 22 | {
|
---|
| 23 | template <typename Sequence>
|
---|
| 24 | struct apply : Sequence::size {};
|
---|
| 25 | };
|
---|
| 26 | }
|
---|
| 27 | }}
|
---|
| 28 |
|
---|
| 29 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.