|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69069 - in sandbox/type_traits: boost/type_traits/detail libs/type_traits/doc libs/type_traits/doc/html libs/type_traits/doc/html/boost_typetraits libs/type_traits/doc/html/boost_typetraits/category libs/type_traits/doc/html/boost_typetraits/category/value_traits libs/type_traits/doc/html/boost_typetraits/reference
From: frederic.bron_at_[hidden]
Date: 2011-02-19 17:33:29
Author: bronf
Date: 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
New Revision: 69069
URL: http://svn.boost.org/trac/boost/changeset/69069
Log:
operator traits: removed unnecessary #include, improved documentation
Added:
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/operators.html (contents, props changed)
sandbox/type_traits/libs/type_traits/doc/operators.qbk (contents, props changed)
Text files modified:
sandbox/type_traits/boost/type_traits/detail/has_binary_operator.hpp | 2 --
sandbox/type_traits/boost/type_traits/detail/has_prefix_operator.hpp | 2 --
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/background.html | 22 +++++++++++-----------
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category.html | 2 ++
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/transform.html | 8 ++++----
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits.html | 2 ++
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/relate.html | 6 +++---
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/intrinsics.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/decay.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html | 4 ++--
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/member_object.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/promote.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_member_pointer.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html | 2 +-
sandbox/type_traits/libs/type_traits/doc/html/index.html | 6 ++++--
sandbox/type_traits/libs/type_traits/doc/value_traits.qbk | 2 ++
31 files changed, 51 insertions(+), 47 deletions(-)
Modified: sandbox/type_traits/boost/type_traits/detail/has_binary_operator.hpp
==============================================================================
--- sandbox/type_traits/boost/type_traits/detail/has_binary_operator.hpp (original)
+++ sandbox/type_traits/boost/type_traits/detail/has_binary_operator.hpp 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -10,14 +10,12 @@
#include <boost/type_traits/ice.hpp>
#include <boost/type_traits/integral_constant.hpp>
#include <boost/type_traits/is_base_of.hpp>
-#include <boost/type_traits/is_class.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/is_fundamental.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/type_traits/is_same.hpp>
-#include <boost/type_traits/is_union.hpp>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/type_traits/remove_pointer.hpp>
Modified: sandbox/type_traits/boost/type_traits/detail/has_prefix_operator.hpp
==============================================================================
--- sandbox/type_traits/boost/type_traits/detail/has_prefix_operator.hpp (original)
+++ sandbox/type_traits/boost/type_traits/detail/has_prefix_operator.hpp 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -9,13 +9,11 @@
#include <boost/config.hpp>
#include <boost/type_traits/ice.hpp>
#include <boost/type_traits/integral_constant.hpp>
-#include <boost/type_traits/is_class.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/is_fundamental.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/type_traits/is_same.hpp>
-#include <boost/type_traits/is_union.hpp>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/type_traits/remove_pointer.hpp>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/background.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/background.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/background.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -49,7 +49,7 @@
method available to them.
</p>
<a name="boost_typetraits.background.type_traits"></a><h5>
-<a name="id3202443"></a>
+<a name="id3143597"></a>
<a class="link" href="background.html#boost_typetraits.background.type_traits">Type Traits</a>
</h5>
<p>
@@ -77,7 +77,7 @@
given.
</p>
<a name="boost_typetraits.background.implementation"></a><h5>
-<a name="id3201487"></a>
+<a name="id3142642"></a>
<a class="link" href="background.html#boost_typetraits.background.implementation">Implementation</a>
</h5>
<p>
@@ -167,7 +167,7 @@
in the default template.
</p>
<a name="boost_typetraits.background.optimized_copy"></a><h5>
-<a name="id3252972"></a>
+<a name="id3194126"></a>
<a class="link" href="background.html#boost_typetraits.background.optimized_copy">Optimized copy</a>
</h5>
<p>
@@ -240,7 +240,7 @@
otherwise it will call the "slow but safe version".
</p>
<a name="boost_typetraits.background.was_it_worth_it_"></a><h5>
-<a name="id3253435"></a>
+<a name="id3194589"></a>
<a class="link" href="background.html#boost_typetraits.background.was_it_worth_it_">Was it worth it?</a>
</h5>
<p>
@@ -273,7 +273,7 @@
</li>
</ul></div>
<div class="table">
-<a name="id3253503"></a><p class="title"><b>Table 1.1. Time taken to copy 1000 elements using `copy<const T*, T*>` (times
+<a name="id3194657"></a><p class="title"><b>Table 1.1. Time taken to copy 1000 elements using `copy<const T*, T*>` (times
in micro-seconds)</b></p>
<div class="table-contents"><table class="table" summary="Time taken to copy 1000 elements using `copy<const T*, T*>` (times
in micro-seconds)">
@@ -372,7 +372,7 @@
</table></div>
</div>
<br class="table-break"><a name="boost_typetraits.background.pair_of_references"></a><h5>
-<a name="id3253655"></a>
+<a name="id3194809"></a>
<a class="link" href="background.html#boost_typetraits.background.pair_of_references">Pair of References</a>
</h5>
<p>
@@ -409,7 +409,7 @@
to hold non-reference types, references, and constant references:
</p>
<div class="table">
-<a name="id3253962"></a><p class="title"><b>Table 1.2. Required Constructor Argument Types</b></p>
+<a name="id3195116"></a><p class="title"><b>Table 1.2. Required Constructor Argument Types</b></p>
<div class="table-contents"><table class="table" summary="Required Constructor Argument Types">
<colgroup>
<col>
@@ -474,7 +474,7 @@
adds a reference to its type, unless it is already a reference.
</p>
<div class="table">
-<a name="id3254078"></a><p class="title"><b>Table 1.3. Using add_reference to synthesize the correct constructor type</b></p>
+<a name="id3195232"></a><p class="title"><b>Table 1.3. Using add_reference to synthesize the correct constructor type</b></p>
<div class="table-contents"><table class="table" summary="Using add_reference to synthesize the correct constructor type">
<colgroup>
<col>
@@ -590,7 +590,7 @@
easier to maintain and easier to understand.
</p>
<a name="boost_typetraits.background.conclusion"></a><h5>
-<a name="id3254610"></a>
+<a name="id3195764"></a>
<a class="link" href="background.html#boost_typetraits.background.conclusion">Conclusion</a>
</h5>
<p>
@@ -603,7 +603,7 @@
can be optimal as well as generic.
</p>
<a name="boost_typetraits.background.acknowledgements"></a><h5>
-<a name="id3254641"></a>
+<a name="id3195796"></a>
<a class="link" href="background.html#boost_typetraits.background.acknowledgements">Acknowledgements</a>
</h5>
<p>
@@ -611,7 +611,7 @@
comments when preparing this article.
</p>
<a name="background.references"></a><a name="boost_typetraits.background.references"></a><h5>
-<a name="id3254668"></a>
+<a name="id3195822"></a>
<a class="link" href="background.html#boost_typetraits.background.references">References</a>
</h5>
<div class="orderedlist"><ol class="orderedlist" type="1">
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -29,6 +29,8 @@
General Type Properties</a></span></dt>
<dt><span class="section"><a href="category/value_traits/relate.html"> Relationships
Between Two Types</a></span></dt>
+<dt><span class="section"><a href="category/value_traits/operators.html">
+ Operator Type Traits</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>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/transform.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/transform.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/transform.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -6,14 +6,14 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.TypeTraits">
<link rel="up" href="../category.html" title="Type Traits by Category">
-<link rel="prev" href="value_traits/relate.html" title="Relationships Between Two Types">
+<link rel="prev" href="value_traits/operators.html" title="Operator Type Traits">
<link rel="next" href="alignment.html" title="Synthesizing Types with Specific Alignments">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="value_traits/relate.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="alignment.html"><img src="../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="value_traits/operators.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="alignment.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
@@ -90,7 +90,7 @@
<span class="keyword">struct</span> <a class="link" href="../reference/remove_volatile.html" title="remove_volatile">remove_volatile</a><span class="special">;</span>
</pre>
<a name="boost_typetraits.category.transform.broken_compiler_workarounds_"></a><h5>
-<a name="id3258122"></a>
+<a name="id3206392"></a>
<a class="link" href="transform.html#boost_typetraits.category.transform.broken_compiler_workarounds_">Broken
Compiler Workarounds:</a>
</h5>
@@ -160,7 +160,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="value_traits/relate.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="alignment.html"><img src="../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="value_traits/operators.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../category.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="alignment.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -27,6 +27,8 @@
General Type Properties</a></span></dt>
<dt><span class="section"><a href="value_traits/relate.html"> Relationships
Between Two Types</a></span></dt>
+<dt><span class="section"><a href="value_traits/operators.html">
+ Operator Type Traits</a></span></dt>
</dl></div>
<p>
These traits are all <span class="emphasis"><em>value traits</em></span>, which is to say the
Added: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/operators.html
==============================================================================
--- (empty file)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/operators.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -0,0 +1,1615 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Operator Type Traits</title>
+<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../../index.html" title="Chapter 1. Boost.TypeTraits">
+<link rel="up" href="../value_traits.html" title="Type Traits that Describe the Properties of a Type">
+<link rel="prev" href="relate.html" title="Relationships Between Two Types">
+<link rel="next" href="../transform.html" title="Type Traits that Transform One Type to Another">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="relate.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../transform.html"><img src="../../../images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_typetraits.category.value_traits.operators"></a><a class="link" href="operators.html" title="Operator Type Traits">
+ Operator Type Traits</a>
+</h4></div></div></div>
+<a name="boost_typetraits.category.value_traits.operators.introduction"></a><h6>
+<a name="id3198436"></a>
+ <a class="link" href="operators.html#boost_typetraits.category.value_traits.operators.introduction">Introduction</a>
+ </h6>
+<p>
+ These traits are all <span class="emphasis"><em>value traits</em></span> inheriting from
+ <a class="link" href="../../reference/integral_constant.html" title="integral_constant">integral_constant</a>
+ and providing a simple <code class="computeroutput"><span class="keyword">true</span></code>
+ or <code class="computeroutput"><span class="keyword">false</span></code> boolean value which
+ reflects the fact that given types can or not be used with given operators.
+ </p>
+<p>
+ For example, <code class="computeroutput"><span class="identifier">has_operator_plus</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">value</span></code>
+ is a <code class="computeroutput"><span class="keyword">bool</span></code> which value is
+ <code class="computeroutput"><span class="keyword">true</span></code> because it is possible
+ to add a <code class="computeroutput"><span class="keyword">double</span></code> to an <code class="computeroutput"><span class="keyword">int</span></code> like in the following code:
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span><span class="special">;</span>
+<span class="keyword">double</span> <span class="identifier">d</span><span class="special">;</span>
+<span class="identifier">d</span><span class="special">+</span><span class="identifier">i</span><span class="special">;</span>
+</pre>
+<p>
+ It is also possible to know if the result of the operator is convertible
+ or not to a given type:
+</p>
+<pre class="programlisting"><span class="identifier">has_operator_plus</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">value</span><span class="special">;</span> <span class="comment">// true: int+double is convertible to double
+</span><span class="identifier">has_operator_plus</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*>::</span><span class="identifier">value</span><span class="special">;</span> <span class="comment">// false: int+double is not convertible to char*
+</span><span class="identifier">has_operator_less</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">>::</span><span class="identifier">value</span><span class="special">;</span> <span class="comment">// true: int<double is convertible to bool
+</span></pre>
+<p>
+ </p>
+<p>
+ The syntax for binary operators is the following:
+</p>
+<pre class="programlisting"><span class="keyword">template</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span> <span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code> <span class="identifier">has_operator_op</span><span class="special">;</span>
+</pre>
+<p>
+ where:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">LHS</span></code> is the type used
+ at the left hand side of <code class="computeroutput"><span class="keyword">operator</span>
+ <span class="identifier">op</span></code>,
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">RHS</span></code> is the type used
+ at the right hand side of <code class="computeroutput"><span class="keyword">operator</span>
+ <span class="identifier">op</span></code>,
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">RET</span></code> is the type for
+ which we want to know if the result of <code class="computeroutput"><span class="keyword">operator</span>
+ <span class="identifier">op</span></code> can be converted to. Note
+ that if <code class="computeroutput"><span class="identifier">RET</span></code> is <code class="computeroutput"><span class="keyword">void</span></code> (default), the return type is not
+ checked.
+ </li>
+</ul></div>
+<p>
+ Similarly, the syntax for postfix and prefix operators is the following:
+
+</p>
+<pre class="programlisting"><span class="keyword">template</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code> <span class="identifier">has_operator_prefixop</span><span class="special">;</span>
+<span class="keyword">template</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span> <span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code> <span class="identifier">has_operator_postfixop</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ The following tables give the list of supported binary, prefix and postfix
+ operators.
+ </p>
+<div class="table">
+<a name="id3199113"></a><p class="title"><b>Table 1.4. Supported binary operators</b></p>
+<div class="table-contents"><table class="table" summary="Supported binary operators">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ operator
+ </p>
+ </th>
+<th>
+ <p>
+ trait name
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">==</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_equal_to.html" title="has_operator_equal_to"><code class="computeroutput"><span class="identifier">has_operator_equal_to</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">!=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_not_equal_to.html" title="has_operator_not_equal_to"><code class="computeroutput"><span class="identifier">has_operator_not_equal_to</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_greater.html" title="has_operator_greater"><code class="computeroutput"><span class="identifier">has_operator_greater</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_greater_equal.html" title="has_operator_greater_equal"><code class="computeroutput"><span class="identifier">has_operator_greater_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_less.html" title="has_operator_less"><code class="computeroutput"><span class="identifier">has_operator_less</span> <code class="computeroutput"><span class="special"><</span>
+ <span class="keyword">class</span> <span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_less_equal.html" title="has_operator_less_equal"><code class="computeroutput"><span class="identifier">has_operator_less_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_plus.html" title="has_operator_plus"><code class="computeroutput"><span class="identifier">has_operator_plus</span> <code class="computeroutput"><span class="special"><</span>
+ <span class="keyword">class</span> <span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_minus.html" title="has_operator_minus"><code class="computeroutput"><span class="identifier">has_operator_minus</span> <code class="computeroutput"><span class="special"><</span>
+ <span class="keyword">class</span> <span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_multiplies.html" title="has_operator_multiplies"><code class="computeroutput"><span class="identifier">has_operator_multiplies</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">/</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_divides.html" title="has_operator_divides"><code class="computeroutput"><span class="identifier">has_operator_divides</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">%</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_modulus.html" title="has_operator_modulus"><code class="computeroutput"><span class="identifier">has_operator_modulus</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_plus_equal.html" title="has_operator_plus_equal"><code class="computeroutput"><span class="identifier">has_operator_plus_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_minus_equal.html" title="has_operator_minus_equal"><code class="computeroutput"><span class="identifier">has_operator_minus_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_multiplies_equal.html" title="has_operator_multiplies_equal"><code class="computeroutput"><span class="identifier">has_operator_multiplies_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">/=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_divides_equal.html" title="has_operator_divides_equal"><code class="computeroutput"><span class="identifier">has_operator_divides_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">%=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_modulus_equal.html" title="has_operator_modulus_equal"><code class="computeroutput"><span class="identifier">has_operator_modulus_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&&</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_and.html" title="has_operator_logical_and"><code class="computeroutput"><span class="identifier">has_operator_logical_and</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">||</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_or.html" title="has_operator_logical_or"><code class="computeroutput"><span class="identifier">has_operator_logical_or</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_and.html" title="has_operator_bit_and"><code class="computeroutput"><span class="identifier">has_operator_bit_and</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">|</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_or.html" title="has_operator_bit_or"><code class="computeroutput"><span class="identifier">has_operator_bit_or</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">^</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_xor.html" title="has_operator_bit_xor"><code class="computeroutput"><span class="identifier">has_operator_bit_xor</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><<</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_left_shift.html" title="has_operator_left_shift"><code class="computeroutput"><span class="identifier">has_operator_left_shift</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_right_shift.html" title="has_operator_right_shift"><code class="computeroutput"><span class="identifier">has_operator_right_shift</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_and_equal.html" title="has_operator_bit_and_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_and_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">|=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_or_equal.html" title="has_operator_bit_or_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_or_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">^=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_xor_equal.html" title="has_operator_bit_xor_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_xor_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><<=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_left_shift_equal.html" title="has_operator_left_shift_equal"><code class="computeroutput"><span class="identifier">has_operator_left_shift_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>>=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_right_shift_equal.html" title="has_operator_right_shift_equal"><code class="computeroutput"><span class="identifier">has_operator_right_shift_equal</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RHS</span><span class="special">=</span><span class="identifier">LHS</span><span class="special">,</span> <span class="keyword">class</span>
+ <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span> <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="id3202188"></a><p class="title"><b>Table 1.5. Supported prefix operators</b></p>
+<div class="table-contents"><table class="table" summary="Supported prefix operators">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ operator
+ </p>
+ </th>
+<th>
+ <p>
+ trait name
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_unary_plus.html" title="has_operator_unary_plus"><code class="computeroutput"><span class="identifier">has_operator_unary_plus</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_unary_minus.html" title="has_operator_unary_minus"><code class="computeroutput"><span class="identifier">has_operator_unary_minus</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">!</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_not.html" title="has_operator_logical_not"><code class="computeroutput"><span class="identifier">has_operator_logical_not</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">~</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_complement.html" title="has_operator_complement"><code class="computeroutput"><span class="identifier">has_operator_complement</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">--</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_prefix_decrement.html" title="has_operator_prefix_decrement"><code class="computeroutput"><span class="identifier">has_operator_prefix_decrement</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">++</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_prefix_increment.html" title="has_operator_prefix_increment"><code class="computeroutput"><span class="identifier">has_operator_prefix_increment</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">RHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="id3202740"></a><p class="title"><b>Table 1.6. Supported postfix operators</b></p>
+<div class="table-contents"><table class="table" summary="Supported postfix operators">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ operator
+ </p>
+ </th>
+<th>
+ <p>
+ trait name
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">--</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_postfix_decrement.html" title="has_operator_postfix_decrement"><code class="computeroutput"><span class="identifier">has_operator_postfix_decrement</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">++</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_postfix_increment.html" title="has_operator_postfix_increment"><code class="computeroutput"><span class="identifier">has_operator_postfix_increment</span> <code class="computeroutput"><span class="special"><</span> <span class="keyword">class</span>
+ <span class="identifier">LHS</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">RET</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span></code></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><p>
+ The choice of trait names may seem unconsistent but it has not been possible
+ to propose a more consistent naming convention because the standard is
+ itself inconsistent. The following table shows the names found in the standard
+ for each operator and the corresponding trait name.
+ </p>
+<div class="table">
+<a name="id3202960"></a><p class="title"><b>Table 1.7. Operator names in the standard</b></p>
+<div class="table-contents"><table class="table" summary="Operator names in the standard">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ operator
+ </p>
+ </th>
+<th>
+ <p>
+ alternative token (<span class="bold"><strong>C++ Standard Reference:</strong></span>
+ 2.5)
+ </p>
+ </th>
+<th>
+ <p>
+ name in <code class="computeroutput"><span class="special"><</span><span class="identifier">functionnal</span><span class="special">></span></code> or <code class="computeroutput"><span class="special"><</span><span class="identifier">iterator</span><span class="special">></span></code>
+ (<span class="bold"><strong>C++ Standard Reference:</strong></span> 20.3
+ and 24.2)
+ </p>
+ </th>
+<th>
+ <p>
+ trait name
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ binary
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">==</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">equal_to</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_equal_to.html" title="has_operator_equal_to"><code class="computeroutput"><span class="identifier">has_operator_equal_to</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">!=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">not_eq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">not_equal_to</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_not_equal_to.html" title="has_operator_not_equal_to"><code class="computeroutput"><span class="identifier">has_operator_not_equal_to</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">less</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_less.html" title="has_operator_less"><code class="computeroutput"><span class="identifier">has_operator_less</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">less_equal</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_less_equal.html" title="has_operator_less_equal"><code class="computeroutput"><span class="identifier">has_operator_less_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">greater</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_greater.html" title="has_operator_greater"><code class="computeroutput"><span class="identifier">has_operator_greater</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">greater_equal</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_greater_equal.html" title="has_operator_greater_equal"><code class="computeroutput"><span class="identifier">has_operator_greater_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">plus</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_plus.html" title="has_operator_plus"><code class="computeroutput"><span class="identifier">has_operator_plus</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">minus</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_minus.html" title="has_operator_minus"><code class="computeroutput"><span class="identifier">has_operator_minus</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">multiplies</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_multiplies.html" title="has_operator_multiplies"><code class="computeroutput"><span class="identifier">has_operator_multiplies</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">/</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">divides</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_divides.html" title="has_operator_divides"><code class="computeroutput"><span class="identifier">has_operator_divides</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">%</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modulus</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_modulus.html" title="has_operator_modulus"><code class="computeroutput"><span class="identifier">has_operator_modulus</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_plus_equal.html" title="has_operator_plus_equal"><code class="computeroutput"><span class="identifier">has_operator_plus_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_minus_equal.html" title="has_operator_minus_equal"><code class="computeroutput"><span class="identifier">has_operator_minus_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_multiplies_equal.html" title="has_operator_multiplies_equal"><code class="computeroutput"><span class="identifier">has_operator_multiplies_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">/=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_divides_equal.html" title="has_operator_divides_equal"><code class="computeroutput"><span class="identifier">has_operator_divides_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">%=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_modulus_equal.html" title="has_operator_modulus_equal"><code class="computeroutput"><span class="identifier">has_operator_modulus_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">bitand</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">bit_and</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_and.html" title="has_operator_bit_and"><code class="computeroutput"><span class="identifier">has_operator_bit_and</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">|</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">bitor</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">bit_or</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_or.html" title="has_operator_bit_or"><code class="computeroutput"><span class="identifier">has_operator_bit_or</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">^</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">xor</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">bit_xor</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_xor.html" title="has_operator_bit_xor"><code class="computeroutput"><span class="identifier">has_operator_bit_xor</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">and_eq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_and_equal.html" title="has_operator_bit_and_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_and_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">|=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">or_eq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_or_equal.html" title="has_operator_bit_or_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_or_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">^=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">xor_eq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_bit_xor_equal.html" title="has_operator_bit_xor_equal"><code class="computeroutput"><span class="identifier">has_operator_bit_xor_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><<</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_left_shift.html" title="has_operator_left_shift"><code class="computeroutput"><span class="identifier">has_operator_left_shift</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_right_shift.html" title="has_operator_right_shift"><code class="computeroutput"><span class="identifier">has_operator_right_shift</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special"><<=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_left_shift_equal.html" title="has_operator_left_shift_equal"><code class="computeroutput"><span class="identifier">has_operator_left_shift_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">>>=</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_right_shift_equal.html" title="has_operator_right_shift_equal"><code class="computeroutput"><span class="identifier">has_operator_right_shift_equal</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">&&</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">and</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">logical_and</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_and.html" title="has_operator_logical_and"><code class="computeroutput"><span class="identifier">has_operator_logical_and</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">||</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">or</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">logical_or</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_or.html" title="has_operator_logical_or"><code class="computeroutput"><span class="identifier">has_operator_logical_or</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ prefix
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">+</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_unary_plus.html" title="has_operator_unary_plus"><code class="computeroutput"><span class="identifier">has_operator_unary_plus</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">-</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">negate</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_unary_minus.html" title="has_operator_unary_minus"><code class="computeroutput"><span class="identifier">has_operator_unary_minus</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">~</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">compl</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_complement.html" title="has_operator_complement"><code class="computeroutput"><span class="identifier">has_operator_complement</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">!</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="keyword">not</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">logical_not</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_logical_not.html" title="has_operator_logical_not"><code class="computeroutput"><span class="identifier">has_operator_logical_not</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">++</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">advance</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_prefix_increment.html" title="has_operator_prefix_increment"><code class="computeroutput"><span class="identifier">has_operator_prefix_increment</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">--</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_prefix_decrement.html" title="has_operator_prefix_decrement"><code class="computeroutput"><span class="identifier">has_operator_prefix_decrement</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ postfix
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">++</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">advance</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_postfix_increment.html" title="has_operator_postfix_increment"><code class="computeroutput"><span class="identifier">has_operator_postfix_increment</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">--</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ ø
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../../reference/has_operator_postfix_decrement.html" title="has_operator_postfix_decrement"><code class="computeroutput"><span class="identifier">has_operator_postfix_decrement</span></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><a name="boost_typetraits.category.value_traits.operators.implementation"></a><h6>
+<a name="id3205404"></a>
+ <a class="link" href="operators.html#boost_typetraits.category.value_traits.operators.implementation">Implementation</a>
+ </h6>
+</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">Copyright © 2000, 2011 Adobe Systems Inc, David Abrahams,
+ Frédéric Bron, Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant,
+ Jesse Jones, Mat Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten
+ Ottosen, Roman Perepelitsa, Robert Ramey, Jeremy Siek, Robert Stewart and Steven
+ Watanabe<p>
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="relate.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../transform.html"><img src="../../../images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/relate.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/relate.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/category/value_traits/relate.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -7,13 +7,13 @@
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.TypeTraits">
<link rel="up" href="../value_traits.html" title="Type Traits that Describe the Properties of a Type">
<link rel="prev" href="properties.html" title="General Type Properties">
-<link rel="next" href="../transform.html" title="Type Traits that Transform One Type to Another">
+<link rel="next" href="operators.html" title="Operator Type Traits">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="properties.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../transform.html"><img src="../../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="properties.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operators.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
@@ -51,7 +51,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="properties.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../transform.html"><img src="../../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="properties.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../value_traits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="operators.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/intrinsics.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/intrinsics.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/intrinsics.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -92,7 +92,7 @@
of the following macros:
</p>
<div class="table">
-<a name="id3260003"></a><p class="title"><b>Table 1.4. Macros for Compiler Intrinsics</b></p>
+<a name="id3208484"></a><p class="title"><b>Table 1.8. Macros for Compiler Intrinsics</b></p>
<div class="table-contents"><table class="table" summary="Macros for Compiler Intrinsics">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3264558"></a><p class="title"><b>Table 1.5. Examples</b></p>
+<a name="id3213283"></a><p class="title"><b>Table 1.9. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3265142"></a><p class="title"><b>Table 1.6. Examples</b></p>
+<a name="id3213867"></a><p class="title"><b>Table 1.10. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -49,7 +49,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3265795"></a><p class="title"><b>Table 1.7. Examples</b></p>
+<a name="id3214519"></a><p class="title"><b>Table 1.11. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3266380"></a><p class="title"><b>Table 1.8. Examples</b></p>
+<a name="id3215105"></a><p class="title"><b>Table 1.12. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3266958"></a><p class="title"><b>Table 1.9. Examples</b></p>
+<a name="id3215682"></a><p class="title"><b>Table 1.13. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/decay.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/decay.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/decay.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -41,7 +41,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3268456"></a><p class="title"><b>Table 1.10. Examples</b></p>
+<a name="id3217180"></a><p class="title"><b>Table 1.14. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -42,7 +42,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3270065"></a><p class="title"><b>Table 1.11. Examples</b></p>
+<a name="id3218789"></a><p class="title"><b>Table 1.15. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -52,7 +52,7 @@
</p></td></tr>
</table></div>
<div class="table">
-<a name="id3270510"></a><p class="title"><b>Table 1.12. Function Traits Members</b></p>
+<a name="id3219235"></a><p class="title"><b>Table 1.16. Function Traits Members</b></p>
<div class="table-contents"><table class="table" summary="Function Traits Members">
<colgroup>
<col>
@@ -115,7 +115,7 @@
</table></div>
</div>
<br class="table-break"><div class="table">
-<a name="id3270767"></a><p class="title"><b>Table 1.13. Examples</b></p>
+<a name="id3219492"></a><p class="title"><b>Table 1.17. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -42,7 +42,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3310433"></a><p class="title"><b>Table 1.14. Examples</b></p>
+<a name="id3259116"></a><p class="title"><b>Table 1.18. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3328351"></a><p class="title"><b>Table 1.15. Examples</b></p>
+<a name="id3277040"></a><p class="title"><b>Table 1.19. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3328932"></a><p class="title"><b>Table 1.16. Examples</b></p>
+<a name="id3277620"></a><p class="title"><b>Table 1.20. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/member_object.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/member_object.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/member_object.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -44,7 +44,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3329536"></a><p class="title"><b>Table 1.17. Examples</b></p>
+<a name="id3278225"></a><p class="title"><b>Table 1.21. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/promote.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/promote.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/promote.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -44,7 +44,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3330296"></a><p class="title"><b>Table 1.18. Examples</b></p>
+<a name="id3278984"></a><p class="title"><b>Table 1.22. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3331582"></a><p class="title"><b>Table 1.19. Examples</b></p>
+<a name="id3280271"></a><p class="title"><b>Table 1.23. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3332245"></a><p class="title"><b>Table 1.20. Examples</b></p>
+<a name="id3280933"></a><p class="title"><b>Table 1.24. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3332890"></a><p class="title"><b>Table 1.21. Examples</b></p>
+<a name="id3281578"></a><p class="title"><b>Table 1.25. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -47,7 +47,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3333537"></a><p class="title"><b>Table 1.22. Examples</b></p>
+<a name="id3282225"></a><p class="title"><b>Table 1.26. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_member_pointer.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_member_pointer.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_member_pointer.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -42,7 +42,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3334805"></a><p class="title"><b>Table 1.24. Examples</b></p>
+<a name="id3283493"></a><p class="title"><b>Table 1.28. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3334212"></a><p class="title"><b>Table 1.23. Examples</b></p>
+<a name="id3282901"></a><p class="title"><b>Table 1.27. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3335594"></a><p class="title"><b>Table 1.25. Examples</b></p>
+<a name="id3284282"></a><p class="title"><b>Table 1.29. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -46,7 +46,7 @@
or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<div class="table">
-<a name="id3336150"></a><p class="title"><b>Table 1.26. Examples</b></p>
+<a name="id3284838"></a><p class="title"><b>Table 1.30. Examples</b></p>
<div class="table-contents"><table class="table" summary="Examples">
<colgroup>
<col>
Modified: sandbox/type_traits/libs/type_traits/doc/html/index.html
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/html/index.html (original)
+++ sandbox/type_traits/libs/type_traits/doc/html/index.html 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -24,7 +24,7 @@
Ottosen, Roman Perepelitsa, Robert Ramey, Jeremy Siek, Robert Stewart and Steven
Watanabe</p></div>
<div><div class="legalnotice">
-<a name="id3242860"></a><p>
+<a name="id3184015"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -46,6 +46,8 @@
General Type Properties</a></span></dt>
<dt><span class="section"><a href="boost_typetraits/category/value_traits/relate.html"> Relationships
Between Two Types</a></span></dt>
+<dt><span class="section"><a href="boost_typetraits/category/value_traits/operators.html">
+ Operator Type Traits</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="boost_typetraits/category/transform.html"> Type Traits that
Transform One Type to Another</a></span></dt>
@@ -219,7 +221,7 @@
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: January 29, 2011 at 18:55:25 +0100</small></p></td>
+<td align="left"><p><small>Last revised: January 30, 2011 at 14:55:08 +0100</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Added: sandbox/type_traits/libs/type_traits/doc/operators.qbk
==============================================================================
--- (empty file)
+++ sandbox/type_traits/libs/type_traits/doc/operators.qbk 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -0,0 +1,157 @@
+[/
+ Copyright 2011 Frédéric Bron
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt).
+]
+[c++]
+[def __binary_temp `< class LHS, class RHS=LHS, class RET=void >`]
+[def __prefix_temp `< class RHS, class RET=void >`]
+[def __postfix_temp `< class LHS, class RET=void >`]
+
+[section:operators Operator Type Traits]
+
+[heading Introduction]
+
+These traits are all /value traits/ inheriting from __integral_constant
+and providing a simple `true` or `false` boolean value which reflects the fact
+that given types can or not be used with given operators.
+
+For example, `has_operator_plus<int, double>::value` is a `bool`
+which value is `true` because it is possible to add a `double` to an `int` like in the following code:
+``
+int i;
+double d;
+d+i;
+``
+It is also possible to know if the result of the operator is convertible or not to a given type:
+``
+has_operator_plus<int, double, double>::value; // true: int+double is convertible to double
+has_operator_plus<int, double, char*>::value; // false: int+double is not convertible to char*
+has_operator_less<int, double, bool>::value; // true: int<double is convertible to bool
+``
+
+The syntax for binary operators is the following:
+``
+template __binary_temp has_operator_op;
+``
+where:
+
+* `LHS` is the type used at the left hand side of `operator op`,
+* `RHS` is the type used at the right hand side of `operator op`,
+* `RET` is the type for which we want to know if the result of `operator op` can be converted to.
+ Note that if `RET` is `void` (default), the return type is not checked.
+
+Similarly, the syntax for postfix and prefix operators is the following:
+``
+template __prefix_temp has_operator_prefixop;
+template __postfix_temp has_operator_postfixop;
+``
+
+The following tables give the list of supported binary, prefix and postfix operators.
+
+[table Supported binary operators
+ [[operator] [trait name]]
+
+ [[`==`] [[link boost_typetraits.reference.has_operator_equal_to `has_operator_equal_to __binary_temp`]]]
+ [[`!=`] [[link boost_typetraits.reference.has_operator_not_equal_to `has_operator_not_equal_to __binary_temp`]]]
+ [[`>`] [[link boost_typetraits.reference.has_operator_greater `has_operator_greater __binary_temp`]]]
+ [[`>=`] [[link boost_typetraits.reference.has_operator_greater_equal `has_operator_greater_equal __binary_temp`]]]
+ [[`<`] [[link boost_typetraits.reference.has_operator_less `has_operator_less __binary_temp`]]]
+ [[`<=`] [[link boost_typetraits.reference.has_operator_less_equal `has_operator_less_equal __binary_temp`]]]
+
+ [[`+`] [[link boost_typetraits.reference.has_operator_plus `has_operator_plus __binary_temp`]]]
+ [[`-`] [[link boost_typetraits.reference.has_operator_minus `has_operator_minus __binary_temp`]]]
+ [[`*`] [[link boost_typetraits.reference.has_operator_multiplies `has_operator_multiplies __binary_temp`]]]
+ [[`/`] [[link boost_typetraits.reference.has_operator_divides `has_operator_divides __binary_temp`]]]
+ [[`%`] [[link boost_typetraits.reference.has_operator_modulus `has_operator_modulus __binary_temp`]]]
+ [[`+=`] [[link boost_typetraits.reference.has_operator_plus_equal `has_operator_plus_equal __binary_temp`]]]
+ [[`-=`] [[link boost_typetraits.reference.has_operator_minus_equal `has_operator_minus_equal __binary_temp`]]]
+ [[`*=`] [[link boost_typetraits.reference.has_operator_multiplies_equal `has_operator_multiplies_equal __binary_temp`]]]
+ [[`/=`] [[link boost_typetraits.reference.has_operator_divides_equal `has_operator_divides_equal __binary_temp`]]]
+ [[`%=`] [[link boost_typetraits.reference.has_operator_modulus_equal `has_operator_modulus_equal __binary_temp`]]]
+
+ [[`&&`] [[link boost_typetraits.reference.has_operator_logical_and `has_operator_logical_and __binary_temp`]]]
+ [[`||`] [[link boost_typetraits.reference.has_operator_logical_or `has_operator_logical_or __binary_temp`]]]
+
+ [[`&`] [[link boost_typetraits.reference.has_operator_bit_and `has_operator_bit_and __binary_temp`]]]
+ [[`|`] [[link boost_typetraits.reference.has_operator_bit_or `has_operator_bit_or __binary_temp`]]]
+ [[`^`] [[link boost_typetraits.reference.has_operator_bit_xor `has_operator_bit_xor __binary_temp`]]]
+ [[`<<`] [[link boost_typetraits.reference.has_operator_left_shift `has_operator_left_shift __binary_temp`]]]
+ [[`>>`] [[link boost_typetraits.reference.has_operator_right_shift `has_operator_right_shift __binary_temp`]]]
+ [[`&=`] [[link boost_typetraits.reference.has_operator_bit_and_equal `has_operator_bit_and_equal __binary_temp`]]]
+ [[`|=`] [[link boost_typetraits.reference.has_operator_bit_or_equal `has_operator_bit_or_equal __binary_temp`]]]
+ [[`^=`] [[link boost_typetraits.reference.has_operator_bit_xor_equal `has_operator_bit_xor_equal __binary_temp`]]]
+ [[`<<=`] [[link boost_typetraits.reference.has_operator_left_shift_equal `has_operator_left_shift_equal __binary_temp`]]]
+ [[`>>=`] [[link boost_typetraits.reference.has_operator_right_shift_equal `has_operator_right_shift_equal __binary_temp`]]]
+]
+
+[table Supported prefix operators
+ [[operator] [trait name]]
+ [[`+`] [[link boost_typetraits.reference.has_operator_unary_plus `has_operator_unary_plus __prefix_temp`]]]
+ [[`-`] [[link boost_typetraits.reference.has_operator_unary_minus `has_operator_unary_minus __prefix_temp`]]]
+ [[`!`] [[link boost_typetraits.reference.has_operator_logical_not `has_operator_logical_not __prefix_temp`]]]
+ [[`~`] [[link boost_typetraits.reference.has_operator_complement `has_operator_complement __prefix_temp`]]]
+ [[`--`] [[link boost_typetraits.reference.has_operator_prefix_decrement `has_operator_prefix_decrement __prefix_temp`]]]
+ [[`++`] [[link boost_typetraits.reference.has_operator_prefix_increment `has_operator_prefix_increment __prefix_temp`]]]
+]
+
+[table Supported postfix operators
+ [[operator] [trait name]]
+ [[`--`] [[link boost_typetraits.reference.has_operator_postfix_decrement `has_operator_postfix_decrement __postfix_temp`]]]
+ [[`++`] [[link boost_typetraits.reference.has_operator_postfix_increment `has_operator_postfix_increment __postfix_temp`]]]
+]
+
+
+The choice of trait names may seem unconsistent but it has not been possible to propose a more consistent naming convention because the standard is itself inconsistent.
+The following table shows the names found in the standard for each operator and the corresponding trait name.
+
+[table Operator names in the standard
+[[operator] [alternative token (__std_ref 2.5)] [name in `<functionnal>` or `<iterator>` (__std_ref 20.3 and 24.2)] [trait name]]
+[[binary]]
+[[`==`] [\u00F8] [`equal_to`] [[link boost_typetraits.reference.has_operator_equal_to `has_operator_equal_to`]]]
+[[`!=`] [`not_eq`] [`not_equal_to`] [[link boost_typetraits.reference.has_operator_not_equal_to `has_operator_not_equal_to`]]]
+[[`<`] [\u00F8] [`less`] [[link boost_typetraits.reference.has_operator_less `has_operator_less`]]]
+[[`<=`] [\u00F8] [`less_equal`] [[link boost_typetraits.reference.has_operator_less_equal `has_operator_less_equal`]]]
+[[`>`] [\u00F8] [`greater`] [[link boost_typetraits.reference.has_operator_greater `has_operator_greater`]]]
+[[`>=`] [\u00F8] [`greater_equal`] [[link boost_typetraits.reference.has_operator_greater_equal `has_operator_greater_equal`]]]
+[[ ]]
+[[`+`] [\u00F8] [`plus`] [[link boost_typetraits.reference.has_operator_plus `has_operator_plus`]]]
+[[`-`] [\u00F8] [`minus`] [[link boost_typetraits.reference.has_operator_minus `has_operator_minus`]]]
+[[`*`] [\u00F8] [`multiplies`] [[link boost_typetraits.reference.has_operator_multiplies `has_operator_multiplies`]]]
+[[`/`] [\u00F8] [`divides`] [[link boost_typetraits.reference.has_operator_divides `has_operator_divides`]]]
+[[`%`] [\u00F8] [`modulus`] [[link boost_typetraits.reference.has_operator_modulus `has_operator_modulus`]]]
+[[`+=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_plus_equal `has_operator_plus_equal`]]]
+[[`-=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_minus_equal `has_operator_minus_equal`]]]
+[[`*=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_multiplies_equal `has_operator_multiplies_equal`]]]
+[[`/=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_divides_equal `has_operator_divides_equal`]]]
+[[`%=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_modulus_equal `has_operator_modulus_equal`]]]
+[[ ]]
+[[`&`] [`bitand`] [`bit_and`] [[link boost_typetraits.reference.has_operator_bit_and `has_operator_bit_and`]]]
+[[`|`] [`bitor`] [`bit_or`] [[link boost_typetraits.reference.has_operator_bit_or `has_operator_bit_or`]]]
+[[`^`] [`xor`] [`bit_xor`] [[link boost_typetraits.reference.has_operator_bit_xor `has_operator_bit_xor`]]]
+[[`&=`] [`and_eq`] [\u00F8] [[link boost_typetraits.reference.has_operator_bit_and_equal `has_operator_bit_and_equal`]]]
+[[`|=`] [`or_eq`] [\u00F8] [[link boost_typetraits.reference.has_operator_bit_or_equal `has_operator_bit_or_equal`]]]
+[[`^=`] [`xor_eq`] [\u00F8] [[link boost_typetraits.reference.has_operator_bit_xor_equal `has_operator_bit_xor_equal`]]]
+[[`<<`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_left_shift `has_operator_left_shift`]]]
+[[`>>`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_right_shift `has_operator_right_shift`]]]
+[[`<<=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_left_shift_equal `has_operator_left_shift_equal`]]]
+[[`>>=`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_right_shift_equal `has_operator_right_shift_equal`]]]
+[[ ]]
+[[`&&`] [`and`] [`logical_and`] [[link boost_typetraits.reference.has_operator_logical_and `has_operator_logical_and`]]]
+[[`||`] [`or`] [`logical_or`] [[link boost_typetraits.reference.has_operator_logical_or `has_operator_logical_or`]]]
+[[prefix]]
+[[`+`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_unary_plus `has_operator_unary_plus`]]]
+[[`-`] [\u00F8] [`negate`] [[link boost_typetraits.reference.has_operator_unary_minus `has_operator_unary_minus`]]]
+[[`~`] [`compl`] [\u00F8] [[link boost_typetraits.reference.has_operator_complement `has_operator_complement`]]]
+[[`!`] [`not`] [`logical_not`] [[link boost_typetraits.reference.has_operator_logical_not `has_operator_logical_not`]]]
+[[`++`] [\u00F8] [`advance`] [[link boost_typetraits.reference.has_operator_prefix_increment `has_operator_prefix_increment`]]]
+[[`--`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_prefix_decrement `has_operator_prefix_decrement`]]]
+[[postfix]]
+[[`++`] [\u00F8] [`advance`] [[link boost_typetraits.reference.has_operator_postfix_increment `has_operator_postfix_increment`]]]
+[[`--`] [\u00F8] [\u00F8] [[link boost_typetraits.reference.has_operator_postfix_decrement `has_operator_postfix_decrement`]]]
+]
+
+[heading Implementation]
+
+[endsect]
Modified: sandbox/type_traits/libs/type_traits/doc/value_traits.qbk
==============================================================================
--- sandbox/type_traits/libs/type_traits/doc/value_traits.qbk (original)
+++ sandbox/type_traits/libs/type_traits/doc/value_traits.qbk 2011-02-19 17:33:26 EST (Sat, 19 Feb 2011)
@@ -191,4 +191,6 @@
[endsect]
+[include operators.qbk]
+
[endsect]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk