Chris@16: /*============================================================================= Chris@16: Copyright (c) 2006 Eric Niebler Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: #if !defined(FUSION_IS_SEGMENTED_03202006_0015) Chris@16: #define FUSION_IS_SEGMENTED_03202006_0015 Chris@16: Chris@101: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { namespace fusion Chris@16: { Chris@16: // Special tags: Chris@16: struct sequence_facade_tag; Chris@16: struct iterator_range_tag; Chris@16: Chris@16: namespace extension Chris@16: { Chris@16: template Chris@16: struct is_segmented_impl Chris@16: { Chris@16: template Chris@16: struct apply Chris@16: : mpl::false_ Chris@16: {}; Chris@16: }; Chris@16: Chris@16: template <> Chris@16: struct is_segmented_impl Chris@16: { Chris@16: template Chris@16: struct apply : Sequence::is_segmented {}; Chris@16: }; Chris@16: Chris@16: template <> Chris@16: struct is_segmented_impl; Chris@16: } Chris@16: Chris@16: namespace traits Chris@16: { Chris@16: template Chris@16: struct is_segmented Chris@16: : mpl::bool_< Chris@16: (bool)extension::is_segmented_impl::type>:: Chris@16: template apply::type::value Chris@16: > Chris@16: { Chris@16: }; Chris@16: } Chris@16: }} Chris@16: Chris@16: #endif