forked from boostorg/type_traits
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
- Loading branch information
Showing
99 changed files
with
12,132 additions
and
2,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
<title>Type Traits by Category</title> | ||
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> | ||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_2006-12-17_0120"> | ||
<link rel="start" href="../index.html" title="Chapter 1. Boost.TypeTraits"> | ||
<link rel="up" href="../index.html" title="Chapter 1. Boost.TypeTraits"> | ||
<link rel="prev" href="background.html" title="Background and Tutorial"> | ||
<link rel="next" href="category/value_traits.html" title="Type Traits that Describe the Properties of a Type"> | ||
</head> | ||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | ||
<table cellpadding="2" width="100%"><tr> | ||
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> | ||
<td align="center"><a href="../../../../../index.htm">Home</a></td> | ||
<td align="center"><a href="../../../../libraries.htm">Libraries</a></td> | ||
<td align="center"><a href="../../../../../people/people.htm">People</a></td> | ||
<td align="center"><a href="../../../../../more/faq.htm">FAQ</a></td> | ||
<td align="center"><a href="../../../../../more/index.htm">More</a></td> | ||
</tr></table> | ||
<hr> | ||
<div class="spirit-nav"> | ||
<a accesskey="p" href="background.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="category/value_traits.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a> | ||
</div> | ||
<div class="section" lang="en"> | ||
<div class="titlepage"><div><div><h2 class="title" style="clear: both"> | ||
<a name="boost_typetraits.category"></a><a href="category.html" title="Type Traits by Category"> Type Traits by Category</a> | ||
</h2></div></div></div> | ||
<div class="toc"><dl> | ||
<dt><span class="section"><a href="category/value_traits.html"> Type Traits | ||
that Describe the Properties of a Type</a></span></dt> | ||
<dd><dl> | ||
<dt><span class="section"><a href="category/value_traits/primary.html"> Categorizing | ||
a Type</a></span></dt> | ||
<dt><span class="section"><a href="category/value_traits/properties.html"> | ||
General Type Properties</a></span></dt> | ||
<dt><span class="section"><a href="category/value_traits/relate.html"> Relationships | ||
Between Two Types</a></span></dt> | ||
</dl></dd> | ||
<dt><span class="section"><a href="category/transform.html"> Type Traits that | ||
Transform One Type to Another</a></span></dt> | ||
<dt><span class="section"><a href="category/alignment.html"> Synthesizing Types | ||
with Specific Alignments</a></span></dt> | ||
<dt><span class="section"><a href="category/function.html"> Decomposing Function | ||
Types</a></span></dt> | ||
</dl></div> | ||
</div> | ||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> | ||
<td align="left"></td> | ||
<td align="right"><div class="copyright-footer"><small>Copyright © 2000, 2006 Adobe Systems Inc, David Abrahams, | ||
Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant, Jesse Jones, Mat | ||
Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten Ottosen, Robert | ||
Ramey and Jeremy Siek<p> | ||
Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) | ||
</p></small></div></td> | ||
</tr></table> | ||
<hr> | ||
<div class="spirit-nav"> | ||
<a accesskey="p" href="background.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="category/value_traits.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
<title>Synthesizing Types with Specific Alignments</title> | ||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> | ||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_2006-12-17_0120"> | ||
<link rel="start" href="../../index.html" title="Chapter 1. Boost.TypeTraits"> | ||
<link rel="up" href="../category.html" title="Type Traits by Category"> | ||
<link rel="prev" href="transform.html" title="Type Traits that Transform One Type to Another"> | ||
<link rel="next" href="function.html" title="Decomposing Function Types"> | ||
</head> | ||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | ||
<table cellpadding="2" width="100%"><tr> | ||
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> | ||
<td align="center"><a href="../../../../../../index.htm">Home</a></td> | ||
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td> | ||
<td align="center"><a href="../../../../../../people/people.htm">People</a></td> | ||
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td> | ||
<td align="center"><a href="../../../../../../more/index.htm">More</a></td> | ||
</tr></table> | ||
<hr> | ||
<div class="spirit-nav"> | ||
<a accesskey="p" href="transform.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="function.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a> | ||
</div> | ||
<div class="section" lang="en"> | ||
<div class="titlepage"><div><div><h3 class="title"> | ||
<a name="boost_typetraits.category.alignment"></a><a href="alignment.html" title="Synthesizing Types with Specific Alignments"> Synthesizing Types | ||
with Specific Alignments</a> | ||
</h3></div></div></div> | ||
<p> | ||
Some low level memory management routines need to synthesize a POD type with | ||
specific alignment properties. The template <code class="computeroutput"><a href="../reference/type_with_alignment.html" title="type_with_alignment">type_with_alignment</a></code> | ||
finds the smallest type with a specified alignment, while template <code class="computeroutput"><a href="../reference/aligned_storage.html" title="aligned_storage">aligned_storage</a></code> | ||
creates a type with a specific size and alignment. | ||
</p> | ||
<p> | ||
<span class="bold"><strong>Synopsis</strong></span> | ||
</p> | ||
<pre class="programlisting"> | ||
<span class="keyword">template</span> <span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">Align</span><span class="special">></span> | ||
<span class="keyword">struct</span> <a href="../reference/type_with_alignment.html" title="type_with_alignment">type_with_alignment</a><span class="special">;</span> | ||
|
||
<span class="keyword">template</span> <span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">Size</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">Align</span><span class="special">></span> | ||
<span class="keyword">struct</span> <a href="../reference/aligned_storage.html" title="aligned_storage">aligned_storage</a><span class="special">;</span> | ||
</pre> | ||
</div> | ||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> | ||
<td align="left"></td> | ||
<td align="right"><div class="copyright-footer"><small>Copyright © 2000, 2006 Adobe Systems Inc, David Abrahams, | ||
Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant, Jesse Jones, Mat | ||
Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten Ottosen, Robert | ||
Ramey and Jeremy Siek<p> | ||
Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) | ||
</p></small></div></td> | ||
</tr></table> | ||
<hr> | ||
<div class="spirit-nav"> | ||
<a accesskey="p" href="transform.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="function.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.