Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67105 - in trunk/libs/mpl/doc: refmanual src/refmanual
From: steven_at_[hidden]
Date: 2010-12-08 12:21:42


Author: steven_watanabe
Date: 2010-12-08 12:21:32 EST (Wed, 08 Dec 2010)
New Revision: 67105
URL: http://svn.boost.org/trac/boost/changeset/67105

Log:
Fix name in list example. Fixes #4875.
Text files modified:
   trunk/libs/mpl/doc/refmanual/list.html | 2 +-
   trunk/libs/mpl/doc/src/refmanual/list.rst | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/mpl/doc/refmanual/list.html
==============================================================================
--- trunk/libs/mpl/doc/refmanual/list.html (original)
+++ trunk/libs/mpl/doc/refmanual/list.html 2010-12-08 12:21:32 EST (Wed, 08 Dec 2010)
@@ -142,7 +142,7 @@
 <h3><a class="subsection-title" href="#example" name="example">Example</a></h3>
 <pre class="literal-block">
 typedef list&lt;float,double,long double&gt; floats;
-typedef push_front&lt;floating_types,int&gt;::type types;
+typedef push_front&lt;floats,int&gt;::type types;
 
 <a href="./assert.html" class="identifier">BOOST_MPL_ASSERT</a>(( is_same&lt; <a href="./front.html" class="identifier">front</a>&lt;types&gt;::type, int > ));
 </pre>

Modified: trunk/libs/mpl/doc/src/refmanual/list.rst
==============================================================================
--- trunk/libs/mpl/doc/src/refmanual/list.rst (original)
+++ trunk/libs/mpl/doc/src/refmanual/list.rst 2010-12-08 12:21:32 EST (Wed, 08 Dec 2010)
@@ -102,7 +102,7 @@
 .. parsed-literal::
     
     typedef list<float,double,long double> floats;
- typedef push_front<floating_types,int>::type types;
+ typedef push_front<floats,int>::type types;
     
     BOOST_MPL_ASSERT(( is_same< front<types>::type, int > ));
 


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