From 7f3cd8b46adeb1e611b2d9af74884ecb050ac2c4 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Wed, 19 Jan 2011 00:10:13 +0000 Subject: [PATCH] putting is_native_fusion_sequence in is_sequence.hpp where it belongs. [SVN r68259] --- .../boost/fusion/sequence/comparison/enable_comparison.hpp | 6 ------ include/boost/fusion/support/is_sequence.hpp | 7 ++++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/boost/fusion/sequence/comparison/enable_comparison.hpp b/include/boost/fusion/sequence/comparison/enable_comparison.hpp index 6b32d871..d7d95383 100644 --- a/include/boost/fusion/sequence/comparison/enable_comparison.hpp +++ b/include/boost/fusion/sequence/comparison/enable_comparison.hpp @@ -14,15 +14,9 @@ #include #include #include -#include namespace boost { namespace fusion { namespace traits { - template - struct is_native_fusion_sequence - : is_convertible - {}; - template struct enable_equality : mpl::or_, traits::is_sequence > diff --git a/include/boost/fusion/support/is_sequence.hpp b/include/boost/fusion/support/is_sequence.hpp index 4dc9bdd8..f57ca23b 100644 --- a/include/boost/fusion/support/is_sequence.hpp +++ b/include/boost/fusion/support/is_sequence.hpp @@ -1,7 +1,7 @@ /*============================================================================= Copyright (c) 2001-2006 Joel de Guzman - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(FUSION_IS_SEQUENCE_05052005_1002) @@ -63,6 +63,11 @@ namespace boost { namespace fusion typename fusion::detail::tag_of::type >::template apply {}; + + template + struct is_native_fusion_sequence + : is_convertible + {}; } }}