mirror of
https://github.com/boostorg/type_traits.git
synced 2025-08-03 06:24:36 +02:00
Minor typos fix.
[SVN r22149]
This commit is contained in:
151
index.html
151
index.html
@@ -298,20 +298,20 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::alignment_of<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::alignment_of<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">
|
||||
<P>Identifies the alignment requirements of T. Actually returns a value that is
|
||||
only guaranteed to be a multiple of the actual alignment requirements of T.</P>
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_empty<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_empty<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">
|
||||
<P>True if T is an empty struct or class. If the compiler implements the "zero
|
||||
sized empty base classes" optimisation, then is_empty will correctly guess
|
||||
whether T is empty. Relies upon is_class to determine whether T is a class
|
||||
@@ -319,9 +319,9 @@
|
||||
</P>
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">10p5</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">10p5</p>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Relies on the compiler
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Relies on the compiler
|
||||
implementing zero sized empty base classes in order to detect empty classes.
|
||||
</p>
|
||||
<p align="left">Can not be used with incomplete types.</p>
|
||||
@@ -334,75 +334,73 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_const<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is
|
||||
top-level const-qualified.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9.3</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_const<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is top-level
|
||||
const-qualified.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9.3</p>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_volatile<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_volatile<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is
|
||||
volatile-qualified.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9.3</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9.3</p>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
<TR>
|
||||
<TD vAlign="top" width="5%"></TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">::boost::is_abstract<T>::value</TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">Evaluates true only if T is
|
||||
abstract class.</TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">10.3</TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">Compiler must support DR337 (as Jan
|
||||
2004: GCC 3.4,<BR>
|
||||
<TD vAlign="top" bgColor="#c0c0c0"><code>::boost::is_abstract<T>::value</code></TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">Evaluates true only if T is abstract class.</TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">10.3</TD>
|
||||
<TD vAlign="top" bgColor="#c0c0c0">Compiler must support DR337 (as Jan 2004: GCC
|
||||
3.4,<BR>
|
||||
VC++ 7.1, Intel C++ 7, Comeau 4.3.2).</TD>
|
||||
<TD vAlign="top" width="5%"></TD>
|
||||
</TR>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_polymorphic<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is a
|
||||
polymorphic type.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_polymorphic<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is a polymorphic
|
||||
type.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">10.3</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Requires knowledge of the compilers
|
||||
ABI, does actually seem to work with the majority of compilers though.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">10.3</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Requires knowledge of the compilers ABI, does
|
||||
actually seem to work with the majority of compilers though.</td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_pod<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is a
|
||||
cv-qualified POD type.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_pod<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Evaluates to true only if T is a cv-qualified
|
||||
POD type.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9p10</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="center">3.9p10</p>
|
||||
<p align="center">9p4</p>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">Without some (as yet unspecified)
|
||||
help from the compiler, is_pod will never report that a class or struct is a
|
||||
POD; this is always safe, if possibly sub-optimal.<p>If the compiler does not
|
||||
support partial-specialization of class templates, then this template can not
|
||||
be used with function types.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0">Without some (as yet unspecified) help from the
|
||||
compiler, is_pod will never report that a class or struct is a POD; this is
|
||||
always safe, if possibly sub-optimal.<p>If the compiler does not support
|
||||
partial-specialization of class templates, then this template can not be used
|
||||
with function types.</p>
|
||||
</td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_constructor<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial default
|
||||
constructor.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.1p5</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet
|
||||
unspecified) help from the compiler, <code>has_trivial_constructor </code>will
|
||||
never report that a class or struct has a trivial constructor; this is always
|
||||
safe, if possibly sub-optimal.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_constructor<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial default constructor.</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.1p5</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet unspecified)
|
||||
help from the compiler, <code>has_trivial_constructor </code>will never report
|
||||
that a class or struct has a trivial constructor; this is always safe, if
|
||||
possibly sub-optimal.</p>
|
||||
<p>If the compiler does not support partial-specialization of class templates,
|
||||
then this template can not be used with function types.</p>
|
||||
</td>
|
||||
@@ -410,16 +408,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_copy<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial copy
|
||||
constructor.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_copy<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial copy constructor.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.8p6</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet
|
||||
unspecified) help from the compiler, <code>has_trivial_copy </code>will never
|
||||
report that a class or struct has a trivial copy constructor; this is always
|
||||
safe, if possibly sub-optimal.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.8p6</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet unspecified)
|
||||
help from the compiler, <code>has_trivial_copy </code>will never report that a
|
||||
class or struct has a trivial copy constructor; this is always safe, if
|
||||
possibly sub-optimal.</p>
|
||||
<p>If the compiler does not support partial-specialization of class templates,
|
||||
then this template can not be used with function types.</p>
|
||||
</td>
|
||||
@@ -427,16 +424,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_assign<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial assignment
|
||||
operator.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_assign<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial assignment operator.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.8p11</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet
|
||||
unspecified) help from the compiler, <code>has_trivial_assign </code>will never
|
||||
report that a class or struct has a trivial assignment operator; this is always
|
||||
safe, if possibly sub-optimal.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.8p11</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet unspecified)
|
||||
help from the compiler, <code>has_trivial_assign </code>will never report that
|
||||
a class or struct has a trivial assignment operator; this is always safe, if
|
||||
possibly sub-optimal.</p>
|
||||
<p>If the compiler does not support partial-specialization of class templates,
|
||||
then this template can not be used with function types.</p>
|
||||
</td>
|
||||
@@ -444,15 +440,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_destructor<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial destructor.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::has_trivial_destructor<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T has a trivial destructor.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.4p3</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet
|
||||
unspecified) help from the compiler, <code>has_trivial_destructor </code>will
|
||||
never report that a class or struct has a trivial destructor; this is always
|
||||
safe, if possibly sub-optimal.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0">12.4p3</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet unspecified)
|
||||
help from the compiler, <code>has_trivial_destructor </code>will never report
|
||||
that a class or struct has a trivial destructor; this is always safe, if
|
||||
possibly sub-optimal.</p>
|
||||
<p>If the compiler does not support partial-specialization of class templates,
|
||||
then this template can not be used with function types.</p>
|
||||
</td>
|
||||
@@ -460,16 +456,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="5%"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_stateless<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T is stateless, meaning
|
||||
that T has no storage and its constructors and destructors are trivial.
|
||||
<td valign="top" bgcolor="#c0c0c0"><code>::boost::is_stateless<T>::value</code></td>
|
||||
<td valign="top" bgcolor="#c0c0c0">True if T is stateless, meaning that T has no
|
||||
storage and its constructors and destructors are trivial.
|
||||
<P>T must be a complete type.</P>
|
||||
</td>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet
|
||||
unspecified) help from the compiler, <code>is_stateless </code>will never
|
||||
report that a class or struct is_stateless; this is always safe, if possibly
|
||||
sub-optimal.</p>
|
||||
<td valign="top" bgcolor="#c0c0c0"> </td>
|
||||
<td valign="top" bgcolor="#c0c0c0"><p align="left">Without some (as yet unspecified)
|
||||
help from the compiler, <code>is_stateless </code>will never report that a
|
||||
class or struct is_stateless; this is always safe, if possibly sub-optimal.</p>
|
||||
<p align="left">Will report true only if all of the following also report true:</p>
|
||||
<div align="left"><pre>::boost::has_trivial_constructor<T>::value,
|
||||
::boost::has_trivial_copy<T>::value,
|
||||
@@ -688,7 +683,7 @@ bool const y = boost::is_convertible<D*,A*>::value; // error
|
||||
<td valign="top" width="13%" bgcolor="#c0c0c0">8.3.4</td>
|
||||
<td width="25%" bgcolor="#c0c0c0"><p align="left">If the compiler does not support
|
||||
partial-specialization of class templates, then this template will compile, but
|
||||
will have no effect, except where noted below.</p>
|
||||
will have no effect.</p>
|
||||
</td>
|
||||
<td valign="top" width="5%"> </td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user