]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> | |
4 | <title>Type Traits that Describe the Properties of a Type</title> | |
5 | <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> | |
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.77.1"> | |
7 | <link rel="home" href="../../index.html" title="Chapter 1. Boost.TypeTraits"> | |
8 | <link rel="up" href="../category.html" title="Type Traits by Category"> | |
9 | <link rel="prev" href="../category.html" title="Type Traits by Category"> | |
10 | <link rel="next" href="value_traits/primary.html" title="Categorizing a Type"> | |
11 | </head> | |
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | |
13 | <table cellpadding="2" width="100%"><tr> | |
14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> | |
15 | <td align="center"><a href="../../../../../../index.html">Home</a></td> | |
16 | <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> | |
17 | <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> | |
18 | <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> | |
19 | <td align="center"><a href="../../../../../../more/index.htm">More</a></td> | |
20 | </tr></table> | |
21 | <hr> | |
22 | <div class="spirit-nav"> | |
23 | <a accesskey="p" href="../category.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_traits/primary.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> | |
24 | </div> | |
25 | <div class="section"> | |
26 | <div class="titlepage"><div><div><h3 class="title"> | |
27 | <a name="boost_typetraits.category.value_traits"></a><a class="link" href="value_traits.html" title="Type Traits that Describe the Properties of a Type">Type Traits that | |
28 | Describe the Properties of a Type</a> | |
29 | </h3></div></div></div> | |
30 | <div class="toc"><dl> | |
31 | <dt><span class="section"><a href="value_traits/primary.html">Categorizing | |
32 | a Type</a></span></dt> | |
33 | <dt><span class="section"><a href="value_traits/properties.html">General | |
34 | Type Properties</a></span></dt> | |
35 | <dt><span class="section"><a href="value_traits/relate.html">Relationships | |
36 | Between Two Types</a></span></dt> | |
37 | <dt><span class="section"><a href="value_traits/operators.html">Operator | |
38 | Type Traits</a></span></dt> | |
39 | </dl></div> | |
40 | <p> | |
41 | These traits are all <span class="emphasis"><em>value traits</em></span>, which is to say the | |
42 | traits classes all inherit from <a class="link" href="../reference/integral_constant.html" title="integral_constant">integral_constant</a>, | |
43 | and are used to access some numerical property of a type. Often this is a | |
44 | simple true or false Boolean value, but in a few cases may be some other | |
45 | integer value (for example when dealing with type alignments, or array bounds: | |
46 | see <code class="computeroutput"><a class="link" href="../reference/alignment_of.html" title="alignment_of">alignment_of</a></code>, | |
47 | <code class="computeroutput"><a class="link" href="../reference/rank.html" title="rank">rank</a></code> | |
48 | and <code class="computeroutput"><a class="link" href="../reference/extent.html" title="extent">extent</a></code>). | |
49 | </p> | |
50 | </div> | |
51 | <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> | |
52 | <td align="left"></td> | |
53 | <td align="right"><div class="copyright-footer">Copyright © 2000, 2011 Adobe Systems Inc, David Abrahams, | |
54 | Frederic Bron, Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant, | |
55 | Jesse Jones, Mat Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten | |
56 | Ottosen, Roman Perepelitsa, Robert Ramey, Jeremy Siek, Robert Stewart and Steven | |
57 | Watanabe<p> | |
58 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
59 | 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>) | |
60 | </p> | |
61 | </div></td> | |
62 | </tr></table> | |
63 | <hr> | |
64 | <div class="spirit-nav"> | |
65 | <a accesskey="p" href="../category.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_traits/primary.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> | |
66 | </div> | |
67 | </body> | |
68 | </html> |