Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-12-03 01:29:12


Author: eric_niebler
Date: 2007-12-03 01:29:12 EST (Mon, 03 Dec 2007)
New Revision: 41634
URL: http://svn.boost.org/trac/boost/changeset/41634

Log:
fix oops
Text files modified:
   branches/proto/v3/boost/xpressive/proto/transform/call.hpp | 11 ++---------
   1 files changed, 2 insertions(+), 9 deletions(-)

Modified: branches/proto/v3/boost/xpressive/proto/transform/call.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/transform/call.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/transform/call.hpp 2007-12-03 01:29:12 EST (Mon, 03 Dec 2007)
@@ -13,13 +13,6 @@
 #include <boost/xpressive/proto/proto_fwd.hpp>
 #include <boost/xpressive/proto/traits.hpp>
 
-// BUGBUG these are not the same:
-// as_foo< transform(_arg) >(_)
-// call<as_foo< transform(_arg) >(_)>
-//
-// The problem is that in the second, the inner transform is
-// evaluated, but in the first it isn't.
-
 namespace boost { namespace proto
 {
 
@@ -72,7 +65,7 @@
                 operator pfun2() const;
             };
 
- template<typename Fun, typename A0>
+ template<typename Fun>
             struct arity0
             {
                 static callable0_wrap<Fun> &fun;
@@ -122,7 +115,7 @@
             };
 
             template<typename Fun, typename Expr, typename State, typename Visitor
- , int Arity = arity0<Fun, Expr>::value>
+ , int Arity = arity0<Fun>::value>
             struct call0
               : call3<Fun, Expr, State, Visitor>
             {};


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