Fix name in list example. Fixes #4875.

[SVN r67105]
This commit is contained in:
Steven Watanabe
2010-12-08 17:21:32 +00:00
committed by Daniel James
parent e174e49e32
commit 8886e3d7da
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ of <tt class="literal"><span class="pre">l</span></tt> in the same order; see
<h3><a class="subsection-title" href="#example" name="example">Example</a></h3>
<pre class="literal-block">
typedef <a href="./list.html" class="identifier">list</a>&lt;float,double,long double&gt; floats;
typedef <a href="./push-front.html" class="identifier">push_front</a>&lt;floating_types,int&gt;::type types;
typedef <a href="./push-front.html" class="identifier">push_front</a>&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>

View File

@@ -102,7 +102,7 @@ Example
.. 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 > ));