Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67154 - trunk/libs/proto/doc/reference/transform
From: eric_at_[hidden]
Date: 2010-12-10 23:08:59


Author: eric_niebler
Date: 2010-12-10 23:08:58 EST (Fri, 10 Dec 2010)
New Revision: 67154
URL: http://svn.boost.org/trac/boost/changeset/67154

Log:
doc tweak
Text files modified:
   trunk/libs/proto/doc/reference/transform/make.xml | 32 ++++++++++++++++++++++----------
   1 files changed, 22 insertions(+), 10 deletions(-)

Modified: trunk/libs/proto/doc/reference/transform/make.xml
==============================================================================
--- trunk/libs/proto/doc/reference/transform/make.xml (original)
+++ trunk/libs/proto/doc/reference/transform/make.xml 2010-12-10 23:08:58 EST (Fri, 10 Dec 2010)
@@ -182,6 +182,16 @@
               <para>
                 <itemizedlist>
                   <listitem>
+ <para>
+ If <computeroutput><classname>proto::is_transform</classname>&lt;O&gt;::value</computeroutput> is
+ <computeroutput>true</computeroutput>, then let the result type be
+ <computeroutput>
+ boost::result_of&lt;<classname>proto::when</classname>&lt;<classname>_</classname>, O&gt;(Expr, State, Data)&gt;::type
+ </computeroutput>.
+ Note that a substitution took place.
+ </para>
+ </listitem>
+ <listitem>
                     If <computeroutput>O</computeroutput> is a template like
                     <computeroutput><classname>proto::noinvoke</classname>&lt;S&lt;X<subscript>0</subscript>,...X<subscript>n</subscript>&gt; &gt;</computeroutput>,
                     then the result type is calculated as follows:
@@ -233,6 +243,18 @@
                         <para>
                           If any substitutions took place in the above step and
                           <computeroutput>
+ <classname>is_transform</classname>&lt;S&lt;X<subscript>0</subscript>',...X<subscript>n</subscript>'&gt; &gt;::value
+ </computeroutput> is
+ <computeroutput>true</computeroutput>, the result type is
+ <computeroutput>
+ boost::result_of&lt;<classname>proto::when</classname>&lt;<classname>_</classname>, S&lt;X<subscript>0</subscript>',...X<subscript>n</subscript>'&gt; &gt;(Expr, State, Data)&gt;::type
+ </computeroutput>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Otherwise, If any substitutions took place in the above step and
+ <computeroutput>
                             S&lt;X<subscript>0</subscript>',...X<subscript>n</subscript>'&gt;
                           </computeroutput> has a nested
                           <computeroutput>type</computeroutput> typedef, the result type is
@@ -252,16 +274,6 @@
                     </itemizedlist>
                   </listitem>
                   <listitem>
- <para>
- If <computeroutput><classname>proto::is_transform</classname>&lt;O&gt;::value</computeroutput> is
- <computeroutput>true</computeroutput>, then let the result type be
- <computeroutput>
- boost::result_of&lt;<classname>proto::when</classname>&lt;<classname>_</classname>, O&gt;(Expr, State, Data)&gt;::type
- </computeroutput>.
- Note that a substitution took place.
- </para>
- </listitem>
- <listitem>
                     Otherwise, the result type is <computeroutput>O</computeroutput>, and note that no
                     substitution took place.
                   </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