mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 20:17:32 +02:00
putting is_native_fusion_sequence in is_sequence.hpp where it belongs.
[SVN r68259]
This commit is contained in:
@ -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> >
|
||||
|
@ -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>
|
||||
{};
|
||||
}
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user