|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76029 - trunk/libs/proto/example
From: eric_at_[hidden]
Date: 2011-12-17 14:47:30
Author: eric_niebler
Date: 2011-12-17 14:47:29 EST (Sat, 17 Dec 2011)
New Revision: 76029
URL: http://svn.boost.org/trac/boost/changeset/76029
Log:
fix examples for change in BOOST_PROTO_EXTENDS_USING_ASSIGN
Text files modified:
trunk/libs/proto/example/calc2.cpp | 2 +-
trunk/libs/proto/example/calc3.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/proto/example/calc2.cpp
==============================================================================
--- trunk/libs/proto/example/calc2.cpp (original)
+++ trunk/libs/proto/example/calc2.cpp 2011-12-17 14:47:29 EST (Sat, 17 Dec 2011)
@@ -60,7 +60,7 @@
: calculator_expression::proto_extends(expr)
{}
- BOOST_PROTO_EXTENDS_USING_ASSIGN(Expr, calculator_expression<Expr>, calculator_domain)
+ BOOST_PROTO_EXTENDS_USING_ASSIGN(calculator_expression<Expr>)
// Override operator () to evaluate the expression
double operator ()() const
Modified: trunk/libs/proto/example/calc3.cpp
==============================================================================
--- trunk/libs/proto/example/calc3.cpp (original)
+++ trunk/libs/proto/example/calc3.cpp 2011-12-17 14:47:29 EST (Sat, 17 Dec 2011)
@@ -101,7 +101,7 @@
: base_type(expr)
{}
- BOOST_PROTO_EXTENDS_USING_ASSIGN(Expr, calculator_expression<Expr>, calculator_domain)
+ BOOST_PROTO_EXTENDS_USING_ASSIGN(calculator_expression<Expr>)
// Override operator () to evaluate the expression
double operator ()() const
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