Date: 2008-08-13 13:47:15
Date: 2008-08-13 13:47:15 EDT (Wed, 13 Aug 2008)
New Revision: 48130
fix typo, logic-o and bad wording
Text files modified:
trunk/libs/proto/doc/construction.qbk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--- trunk/libs/proto/doc/construction.qbk (original)
+++ trunk/libs/proto/doc/construction.qbk 2008-08-13 13:47:15 EDT (Wed, 13 Aug 2008)
@@ -198,10 +198,10 @@
it is held by reference, ['even if it is a temporary object]. This last
point becomes important later.
# Non-Proto expressions, such as the integer literal, are turned into Proto
- expressions by making them Proto terminals. These terminal expressions
- are thenselves held by reference, but the object itself /is/. Notice that
- the type of the Protofied `42` literal is `int const &` -- held by
+ expressions by wrapping them in new `expr<>` terminal objects. These new
+ wrappers are not themselves held by reference, but the object wrapped /is/.
+ Notice that the type of the Protofied `42` literal is `int const &` -- held
+ by reference.
The types make it clear: everything in a Proto expression tree is held by
reference. That means that building an expression tree is exceptionally cheap.
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