|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49901 - in branches/release: . boost/proto boost/proto/transform
From: eric_at_[hidden]
Date: 2008-11-23 14:32:12
Author: eric_niebler
Date: 2008-11-23 14:32:11 EST (Sun, 23 Nov 2008)
New Revision: 49901
URL: http://svn.boost.org/trac/boost/changeset/49901
Log:
fix proto::call for callable transforms with >3 arguments, remove unnecessary semicolons from make_expr.hpp
Properties modified:
branches/release/ (props changed)
Text files modified:
branches/release/boost/proto/make_expr.hpp | 6 +++---
branches/release/boost/proto/transform/call.hpp | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: branches/release/boost/proto/make_expr.hpp
==============================================================================
--- branches/release/boost/proto/make_expr.hpp (original)
+++ branches/release/boost/proto/make_expr.hpp 2008-11-23 14:32:11 EST (Sun, 23 Nov 2008)
@@ -524,7 +524,7 @@
{
proto::expr<tag::terminal, Args, 0> that = {this->a0};
return that;
- };
+ }
template<typename Expr>
operator Expr() const
@@ -558,7 +558,7 @@
{
proto::expr<Tag, Args, 1> that = {this->a0};
return that;
- };
+ }
template<typename Expr>
operator Expr() const
@@ -1087,7 +1087,7 @@
#undef M0
proto::expr<Tag, Args, N> that = {BOOST_PP_ENUM_PARAMS(N, c)};
return that;
- };
+ }
template<typename Expr>
operator Expr() const
Modified: branches/release/boost/proto/transform/call.hpp
==============================================================================
--- branches/release/boost/proto/transform/call.hpp (original)
+++ branches/release/boost/proto/transform/call.hpp 2008-11-23 14:32:11 EST (Sun, 23 Nov 2008)
@@ -411,7 +411,8 @@
#define M0(Z, M, DATA) \
detail::as_lvalue( \
typename when<_, BOOST_PP_CAT(A, M)> \
- ::template impl<Expr, State, Data>()(e, s, d)) \
+ ::template impl<Expr, State, Data>()(e, s, d)) \
+ /**/
return mono_fun()(BOOST_PP_ENUM(N, M0, ~));
#undef M0
}
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