mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 05:44:37 +02:00
committed by
Daniel James
parent
e174e49e32
commit
8886e3d7da
@@ -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><float,double,long double> floats;
|
||||
typedef <a href="./push-front.html" class="identifier">push_front</a><floating_types,int>::type types;
|
||||
typedef <a href="./push-front.html" class="identifier">push_front</a><floats,int>::type types;
|
||||
|
||||
<a href="./assert.html" class="identifier">BOOST_MPL_ASSERT</a>(( is_same< <a href="./front.html" class="identifier">front</a><types>::type, int > ));
|
||||
</pre>
|
||||
|
@@ -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 > ));
|
||||
|
||||
|
Reference in New Issue
Block a user