|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73590 - trunk/libs/spirit/example/qi/compiler_tutorial/conjure_samples
From: joel_at_[hidden]
Date: 2011-08-07 01:39:40
Author: djowel
Date: 2011-08-07 01:39:38 EDT (Sun, 07 Aug 2011)
New Revision: 73590
URL: http://svn.boost.org/trac/boost/changeset/73590
Log:
samples update
Text files modified:
trunk/libs/spirit/example/qi/compiler_tutorial/conjure_samples/operators.cnj | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/libs/spirit/example/qi/compiler_tutorial/conjure_samples/operators.cnj
==============================================================================
--- trunk/libs/spirit/example/qi/compiler_tutorial/conjure_samples/operators.cnj (original)
+++ trunk/libs/spirit/example/qi/compiler_tutorial/conjure_samples/operators.cnj 2011-08-07 01:39:38 EDT (Sun, 07 Aug 2011)
@@ -124,11 +124,15 @@
{
int i = ~zero(); // -1
int j = -i; // 1
+ ++j; // 2
+ ++j; // 3
+ ++j; // 4
+ --j; // 3
return j;
}
int main()
{
- return (assign() ^ binary()) + unary(); // 1
+ return assign() + binary() + unary(); // 16385
}
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