|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70575 - in branches/release/boost/fusion: . algorithm algorithm/auxiliary container/list/detail include
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-26 13:10:26
Author: hkaiser
Date: 2011-03-26 13:10:26 EDT (Sat, 26 Mar 2011)
New Revision: 70575
URL: http://svn.boost.org/trac/boost/changeset/70575
Log:
Fusion: merging from trunk stuff needed for Spirit (69113,69118,69137,69583,69589,70008-70009)
Added:
branches/release/boost/fusion/algorithm/auxiliary/
- copied from r69137, /trunk/boost/fusion/algorithm/auxiliary/
branches/release/boost/fusion/algorithm/auxiliary.hpp
- copied unchanged from r69137, /trunk/boost/fusion/algorithm/auxiliary.hpp
branches/release/boost/fusion/algorithm/auxiliary/copy.hpp
- copied, changed from r69137, /trunk/boost/fusion/algorithm/auxiliary/copy.hpp
branches/release/boost/fusion/include/auxiliary.hpp
- copied unchanged from r69137, /trunk/boost/fusion/include/auxiliary.hpp
branches/release/boost/fusion/include/copy.hpp
- copied unchanged from r69137, /trunk/boost/fusion/include/copy.hpp
Properties modified:
branches/release/boost/fusion/ (props changed)
branches/release/boost/fusion/container/list/detail/build_cons.hpp (props changed)
Text files modified:
branches/release/boost/fusion/algorithm/auxiliary/copy.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Copied: branches/release/boost/fusion/algorithm/auxiliary/copy.hpp (from r69137, /trunk/boost/fusion/algorithm/auxiliary/copy.hpp)
==============================================================================
--- /trunk/boost/fusion/algorithm/auxiliary/copy.hpp (original)
+++ branches/release/boost/fusion/algorithm/auxiliary/copy.hpp 2011-03-26 13:10:26 EDT (Sat, 26 Mar 2011)
@@ -12,6 +12,7 @@
#include <boost/fusion/sequence/intrinsic/size.hpp>
#include <boost/fusion/sequence/comparison/detail/equal_to.hpp>
#include <boost/config.hpp>
+#include <boost/static_assert.hpp>
#if defined (BOOST_MSVC)
# pragma warning(push)
@@ -38,12 +39,12 @@
static void
call(I1 const& src, I2 const& dest, mpl::false_)
{
- *src = *dest;
+ *dest = *src;
call(fusion::next(src), fusion::next(dest));
}
template <typename I1, typename I2>
- static bool
+ static void
call(I1 const& src, I2 const& dest)
{
typename result_of::equal_to<I1, end1_type>::type eq;
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