Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/mpl/doc/src/refmanual/Metafunctions-Trivial.rst @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 2.0 KB

The MPL provides a number of |Trivial Metafunction|s that a nothing more than thin wrappers for a differently-named class nested type members. While important in the context of `in-place metafunction composition`__, these metafunctions have so little to them that presenting them in the same format as the rest of the compoments in this manual would result in more boilerplate syntactic baggage than the actual content. To avoid this problem, we instead factor out the common metafunctions' requirements into the `corresponding concept`__ and gather all of them in a single place |--| this subsection |--| in a compact table form that is presented below.

Trivial Metafunctions Summary

In the following table, x is an arbitrary class type.

?
<reference anonymous="1">
    <substitution_reference refname="``first``">
        ``first``
.. |first| replace:: |``first``|__
??
<problematic ids="id4" refid="id3">
    :refentry:`first`
.. |``first``| replace:: :refentry:`first`
?
<reference anonymous="1">
    <substitution_reference refname="``second``">
        ``second``
.. |second| replace:: |``second``|__
??
<problematic ids="id7" refid="id6">
    :refentry:`second`
.. |``second``| replace:: :refentry:`second`
?
<reference anonymous="1">
    <substitution_reference refname="``base``">
        ``base``
.. |base| replace:: |``base``|__
??
<problematic ids="id10" refid="id9">
    :refentry:`base`
.. |``base``| replace:: :refentry:`base`
Metafunction Header
first<x>::type #include <boost/mpl/pair.hpp>
second<x>::type #include <boost/mpl/pair.hpp>
base<x>::type #include <boost/mpl/base.hpp>

See Also

|Metafunctions|, |Trivial Metafunction|

?
<reference anonymous="1" name="Trivial Metafunctions">
    Trivial Metafunctions
.. |Trivial Metafunctions| replace:: `Trivial Metafunctions`__

Docutils System Messages

??????????
Note: See TracBrowser for help on using the repository browser.