putting is_native_fusion_sequence in is_sequence.hpp where it belongs.

[SVN r68259]
This commit is contained in:
Joel de Guzman
2011-01-19 00:10:13 +00:00
parent 1da53e2c3f
commit 7f3cd8b46a
2 changed files with 6 additions and 7 deletions

View File

@ -14,15 +14,9 @@
#include <boost/fusion/support/sequence_base.hpp>
#include <boost/fusion/support/is_sequence.hpp>
#include <boost/fusion/sequence/intrinsic/size.hpp>
#include <boost/type_traits/is_convertible.hpp>
namespace boost { namespace fusion { namespace traits
{
template <typename Sequence, typename Enable = void>
struct is_native_fusion_sequence
: is_convertible<Sequence, detail::from_sequence_convertible_type>
{};
template <typename Seq1, typename Seq2, typename Enable = void>
struct enable_equality
: mpl::or_<traits::is_sequence<Seq1>, traits::is_sequence<Seq2> >

View File

@ -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<T>::type
>::template apply<T>
{};
template <typename Sequence, typename Enable = void>
struct is_native_fusion_sequence
: is_convertible<Sequence, detail::from_sequence_convertible_type>
{};
}
}}