|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66477 - trunk/boost/fusion/sequence/comparison/detail
From: mr.chr.schmidt_at_[hidden]
Date: 2010-11-10 02:59:29
Author: cschmidt
Date: 2010-11-10 02:59:18 EST (Wed, 10 Nov 2010)
New Revision: 66477
URL: http://svn.boost.org/trac/boost/changeset/66477
Log:
Fusion: fixed missing is_native_fusion_sequence for MSVC 7.1 and MSVC 8.0
Text files modified:
trunk/boost/fusion/sequence/comparison/detail/enable_comparison.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/fusion/sequence/comparison/detail/enable_comparison.hpp
==============================================================================
--- trunk/boost/fusion/sequence/comparison/detail/enable_comparison.hpp (original)
+++ trunk/boost/fusion/sequence/comparison/detail/enable_comparison.hpp 2010-11-10 02:59:18 EST (Wed, 10 Nov 2010)
@@ -11,11 +11,18 @@
#include <boost/mpl/and.hpp>
#include <boost/mpl/not.hpp>
#include <boost/mpl/equal_to.hpp>
+#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 detail
{
+ template <typename Sequence>
+ struct is_native_fusion_sequence
+ : is_convertible<Sequence, detail::from_sequence_convertible_type>
+ {};
+
template <typename Seq1, typename Seq2>
struct enable_equality
: mpl::or_<traits::is_sequence<Seq1>, traits::is_sequence<Seq2> >
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk