Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68259 - in trunk/boost/fusion: sequence/comparison support
From: joel_at_[hidden]
Date: 2011-01-18 19:10:14


Author: djowel
Date: 2011-01-18 19:10:13 EST (Tue, 18 Jan 2011)
New Revision: 68259
URL: http://svn.boost.org/trac/boost/changeset/68259

Log:
putting is_native_fusion_sequence in is_sequence.hpp where it belongs.
Text files modified:
   trunk/boost/fusion/sequence/comparison/enable_comparison.hpp | 6 ------
   trunk/boost/fusion/support/is_sequence.hpp | 7 ++++++-
   2 files changed, 6 insertions(+), 7 deletions(-)

Modified: trunk/boost/fusion/sequence/comparison/enable_comparison.hpp
==============================================================================
--- trunk/boost/fusion/sequence/comparison/enable_comparison.hpp (original)
+++ trunk/boost/fusion/sequence/comparison/enable_comparison.hpp 2011-01-18 19:10:13 EST (Tue, 18 Jan 2011)
@@ -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> >

Modified: trunk/boost/fusion/support/is_sequence.hpp
==============================================================================
--- trunk/boost/fusion/support/is_sequence.hpp (original)
+++ trunk/boost/fusion/support/is_sequence.hpp 2011-01-18 19:10:13 EST (Tue, 18 Jan 2011)
@@ -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 @@
                 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>
+ {};
     }
 }}
 


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