|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52617 - trunk/libs/proto/doc
From: eric_at_[hidden]
Date: 2009-04-26 22:26:21
Author: eric_niebler
Date: 2009-04-26 22:26:18 EDT (Sun, 26 Apr 2009)
New Revision: 52617
URL: http://svn.boost.org/trac/boost/changeset/52617
Log:
add proto::noinvoke to the Class reference
Text files modified:
trunk/libs/proto/doc/front_end.qbk | 2 +-
trunk/libs/proto/doc/reference.xml | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
Modified: trunk/libs/proto/doc/front_end.qbk
==============================================================================
--- trunk/libs/proto/doc/front_end.qbk (original)
+++ trunk/libs/proto/doc/front_end.qbk 2009-04-26 22:26:18 EDT (Sun, 26 Apr 2009)
@@ -185,7 +185,7 @@
In the code above, notice how the _function_ and _terminal_ metafunctions are used to calculate the return type: `pow()` returns an expression template representing a function call where the first child is the function to call and the second is the argument to the function. (Unfortunately, the same type calculation is repeated in the body of the function so that we can initialize a local variable of the correct type. We'll see in a moment how to avoid that.)
-[note As with _function_, there are metafunctions corresponding to all of the overloadable C++ operators for calculation expression types.]
+[note As with _function_, there are metafunctions corresponding to all of the overloadable C++ operators for calculating expression types.]
With the above definition of the `pow()` function, we can create calculator expressions like the one below and evaluate them using the `calculator_context` we implemented in the Introduction.
Modified: trunk/libs/proto/doc/reference.xml
==============================================================================
--- trunk/libs/proto/doc/reference.xml (original)
+++ trunk/libs/proto/doc/reference.xml 2009-04-26 22:26:18 EDT (Sun, 26 Apr 2009)
@@ -472,6 +472,11 @@
</listitem>
<listitem>
<computeroutput>
+ <classname alt="boost::proto::noinvoke">proto::noinvoke</classname>
+ </computeroutput>
+ </listitem>
+ <listitem>
+ <computeroutput>
<classname alt="boost::proto::not_">proto::not_</classname>
</computeroutput>
</listitem>
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