1
0
forked from boostorg/mp11

Document mpl.hpp.

This commit is contained in:
Peter Dimov
2017-07-20 21:05:31 +03:00
parent 3d17ab059f
commit 1ee5496e4e
4 changed files with 70 additions and 0 deletions

View File

@@ -607,6 +607,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
<li><a href="#tuple_for_each_tp_f">tuple_for_each(tp, f)</a></li> <li><a href="#tuple_for_each_tp_f">tuple_for_each(tp, f)</a></li>
</ul> </ul>
</li> </li>
<li><a href="#mp11">Convenience Header, &lt;boost/mp11.hpp&gt;</a></li>
<li><a href="#mpl">MPL Support, &lt;boost/mp11/mpl.hpp&gt;</a></li>
</ul> </ul>
</li> </li>
<li><a href="#copyright_and_license">Appendix A: Copyright and License</a></li> <li><a href="#copyright_and_license">Appendix A: Copyright and License</a></li>
@@ -3880,6 +3882,33 @@ expression <code>f(std::get&lt;J&gt;(std::forward&lt;Tp&gt;(tp)))</code> for <co
</div> </div>
</div> </div>
</div> </div>
<div class="sect2">
<h3 id="mp11">Convenience Header, &lt;boost/mp11.hpp&gt;</h3>
<div class="paragraph">
<p>The convenience header <code>&lt;boost/mp11.hpp&gt;</code> includes all of the
headers listed previously in this reference.</p>
</div>
</div>
<div class="sect2">
<h3 id="mpl">MPL Support, &lt;boost/mp11/mpl.hpp&gt;</h3>
<div class="paragraph">
<p>The header <code>&lt;boost/mp11/mpl.hpp&gt;</code>, when included, defines the
necessary support infrastructure for <code>mp_list</code> and <code>std::tuple</code>
to be valid <a href="../../../../libs/mpl">MPL</a> sequences.</p>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<div class="title">Note</div>
</td>
<td class="content">
<code>mpl.hpp</code> is not included by <code>&lt;boost/mp11.hpp&gt;</code>.
</td>
</tr>
</table>
</div>
</div>
</div> </div>
</div> </div>
<div class="sect1"> <div class="sect1">

17
doc/mp11/mp11.adoc Normal file
View File

@@ -0,0 +1,17 @@
////
Copyright 2017 Peter Dimov
Distributed under the Boost Software License, Version 1.0.
See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt
////
[#mp11]
# Convenience Header, <boost/mp11.hpp>
:toc:
:toc-title:
:idprefix:
The convenience header `<boost/mp11.hpp>` includes all of the
headers listed previously in this reference.

20
doc/mp11/mpl.adoc Normal file
View File

@@ -0,0 +1,20 @@
////
Copyright 2017 Peter Dimov
Distributed under the Boost Software License, Version 1.0.
See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt
////
[#mpl]
# MPL Support, <boost/mp11/mpl.hpp>
:toc:
:toc-title:
:idprefix:
The header `<boost/mp11/mpl.hpp>`, when included, defines the
necessary support infrastructure for `mp_list` and `std::tuple`
to be valid link:../../../../libs/mpl[MPL] sequences.
NOTE: `mpl.hpp` is not included by `<boost/mp11.hpp>`.

View File

@@ -37,4 +37,8 @@ include::integer_sequence.adoc[]
include::tuple.adoc[] include::tuple.adoc[]
include::mp11.adoc[]
include::mpl.adoc[]
:leveloffset: -1 :leveloffset: -1