1
/*=============================================================================
2
Copyright (c) 2006 Eric Niebler
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_IS_SEGMENTED_03202006_0015)
8
#define FUSION_IS_SEGMENTED_03202006_0015
10
#include <boost/fusion/support/tag_of.hpp>
12
namespace boost { namespace fusion
15
struct sequence_facade_tag;
16
struct boost_tuple_tag; // boost::tuples::tuple tag
17
struct boost_array_tag; // boost::array tag
18
struct mpl_sequence_tag; // mpl sequence tag
19
struct std_pair_tag; // std::pair tag
20
struct iterator_range_tag;
24
template<typename Tag>
25
struct is_segmented_impl
27
template<typename Sequence>
34
struct is_segmented_impl<iterator_range_tag>;
39
template <typename Sequence>
41
: extension::is_segmented_impl<typename traits::tag_of<Sequence>::type>::
42
template apply<Sequence>