blob: cf823ac51c68b8db29233ecb88686d7caea55a45 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
<title>The MPL Reference Manual: Trivial</title>
<link rel="stylesheet" href="../style.css" type="text/css" />
</head>
<body class="docframe refmanual">
<table class="header"><tr class="header"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./shift-right.html" class="navigation-link">Prev</a>&nbsp;<a href="./trivial-metafunctions-summary.html" class="navigation-link">Next</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./bitwise-operations.html" class="navigation-link">Back</a>&nbsp;<a href="./string-operations.html" class="navigation-link">Along</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./metafunctions.html" class="navigation-link">Up</a>&nbsp;<a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td>
<td class="header-group page-location"><a href="../refmanual.html" class="navigation-link">Front Page</a> / <a href="./metafunctions.html" class="navigation-link">Metafunctions</a> / <a href="./trivial.html" class="navigation-link">Trivial</a></td>
</tr></table><div class="header-separator"></div>
<div class="section" id="trivial">
<h1><a class="toc-backref" href="./metafunctions.html#id1559">Trivial</a></h1>
<p id="label-metafunctions-trivial">The MPL provides a number of <a class="reference internal" href="./trivial-metafunction.html">Trivial Metafunction</a>s that a nothing more than
thin wrappers for a differently-named class nested type members. While important
in the context of <a class="reference internal" href="./composition-and-argument-binding.html">in-place metafunction composition</a>, 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 <a class="reference internal" href="./trivial-metafunction.html">corresponding concept</a> and gather all of
them in a single place — this subsection — in a compact table form that is
presented below.</p>
<!-- Metafunctions/Trivial//Trivial Metafunctions Summary |10 -->
<ul class="toc simple" id="outline">
<li><a class="reference internal" href="./trivial-metafunctions-summary.html" id="id1560">Trivial Metafunctions Summary</a></li>
</ul>
</div>
<div class="footer-separator"></div>
<table class="footer"><tr class="footer"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./shift-right.html" class="navigation-link">Prev</a>&nbsp;<a href="./trivial-metafunctions-summary.html" class="navigation-link">Next</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./bitwise-operations.html" class="navigation-link">Back</a>&nbsp;<a href="./string-operations.html" class="navigation-link">Along</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./metafunctions.html" class="navigation-link">Up</a>&nbsp;<a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td>
<td><div class="copyright-footer"><div class="copyright">Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams</div>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a class="reference external" href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</div></td></tr></table></body>
</html>