$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r57262 - in sandbox/SOC/2009/fusion/libs/fusion: . test/algorithm
From: mr.chr.schmidt_at_[hidden]
Date: 2009-10-31 17:37:38
Author: cschmidt
Date: 2009-10-31 17:37:37 EDT (Sat, 31 Oct 2009)
New Revision: 57262
URL: http://svn.boost.org/trac/boost/changeset/57262
Log:
proto compatibility
Removed:
   sandbox/SOC/2009/fusion/libs/fusion/module.cmake
Text files modified: 
   sandbox/SOC/2009/fusion/libs/fusion/test/algorithm/fold.cpp |    23 -----------------------                 
   1 files changed, 0 insertions(+), 23 deletions(-)
Deleted: sandbox/SOC/2009/fusion/libs/fusion/module.cmake
==============================================================================
--- sandbox/SOC/2009/fusion/libs/fusion/module.cmake	2009-10-31 17:37:37 EDT (Sat, 31 Oct 2009)
+++ (empty file)
@@ -1 +0,0 @@
-boost_module (fusion DEPENDS function_types)
\ No newline at end of file
Modified: sandbox/SOC/2009/fusion/libs/fusion/test/algorithm/fold.cpp
==============================================================================
--- sandbox/SOC/2009/fusion/libs/fusion/test/algorithm/fold.cpp	(original)
+++ sandbox/SOC/2009/fusion/libs/fusion/test/algorithm/fold.cpp	2009-10-31 17:37:37 EDT (Sat, 31 Oct 2009)
@@ -101,24 +101,6 @@
     }
 };
 
-struct lvalue_adder
-{
-    template<typename Sig>
-    struct result;
-
-    template<typename Self,typename T0, typename T1>
-    struct result<Self(T0, T1&)>
-    {
-        typedef T1& type;
-    };
-
-    template<typename T0, typename T1>
-    T0 operator()(T0 const& lhs, T1& rhs) const
-    {
-        return lhs + rhs;
-    }
-};
-
 int add(int lhs, int rhs)
 {
     return lhs + rhs;
@@ -170,11 +152,6 @@
 
     {
         vector<int, int> vec(1,2);
-        BOOST_TEST(fusion::fold(vec, 0, lvalue_adder()) == 3);
-    }
-
-    {
-        vector<int, int> vec(1,2);
         BOOST_TEST(fusion::fold(vec, 0, add) == 3);
     }