Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82668 - trunk/boost/fusion/algorithm/auxiliary
From: joel_at_[hidden]
Date: 2013-02-06 20:23:41


Author: djowel
Date: 2013-01-31 08:01:36 EST (Thu, 31 Jan 2013)
New Revision: 82668
URL: http://svn.boost.org/trac/boost/changeset/82668

Log:
Fixes #7955
Text files modified:
   trunk/boost/fusion/algorithm/auxiliary/copy.hpp | 2 +-
   trunk/boost/fusion/algorithm/auxiliary/move.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/fusion/algorithm/auxiliary/copy.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/auxiliary/copy.hpp (original)
+++ trunk/boost/fusion/algorithm/auxiliary/copy.hpp 2013-01-31 08:01:36 EST (Thu, 31 Jan 2013)
@@ -69,7 +69,7 @@
     copy(Seq1 const& src, Seq2& dest)
     {
         BOOST_STATIC_ASSERT(
- result_of::size<Seq1>::value == result_of::size<Seq2>::value);
+ result_of::size<Seq1>::value <= result_of::size<Seq2>::value);
 
         detail::sequence_copy<
             Seq1 const, Seq2>::

Modified: trunk/boost/fusion/algorithm/auxiliary/move.hpp
==============================================================================
--- trunk/boost/fusion/algorithm/auxiliary/move.hpp (original)
+++ trunk/boost/fusion/algorithm/auxiliary/move.hpp 2013-01-31 08:01:36 EST (Thu, 31 Jan 2013)
@@ -69,7 +69,7 @@
     move(Seq1&& src, Seq2& dest)
     {
         BOOST_STATIC_ASSERT(
- result_of::size<Seq1>::value == result_of::size<Seq2>::value);
+ result_of::size<Seq1>::value <= result_of::size<Seq2>::value);
 
         detail::sequence_move<
             Seq1, 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