summaryrefslogtreecommitdiff
path: root/doc/html/boost/mpi/is_mpi_op.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost/mpi/is_mpi_op.html')
-rw-r--r--doc/html/boost/mpi/is_mpi_op.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/boost/mpi/is_mpi_op.html b/doc/html/boost/mpi/is_mpi_op.html
index 90cfdc3a5a..5cfbfa1f7e 100644
--- a/doc/html/boost/mpi/is_mpi_op.html
+++ b/doc/html/boost/mpi/is_mpi_op.html
@@ -36,7 +36,7 @@
<span class="keyword">struct</span> <a class="link" href="is_mpi_op.html" title="Struct template is_mpi_op">is_mpi_op</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">false_</span> <span class="special">{</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
-<a name="idm45927876769472"></a><h2>Description</h2>
+<a name="idp517291952"></a><h2>Description</h2>
<p>This trait determines if a function object type <code class="computeroutput">Op</code>, when used with argument type <code class="computeroutput">T</code>, has an associated <code class="computeroutput">MPI_Op</code>. If so, <code class="computeroutput">is_mpi_op&lt;Op,T&gt;</code> will derive from <code class="computeroutput">mpl::false_</code> and will contain a static member function <code class="computeroutput">op</code> that takes no arguments but returns the associated <code class="computeroutput">MPI_Op</code> value. For instance, <code class="computeroutput"><a class="link" href="is_mpi_op.html" title="Struct template is_mpi_op">is_mpi_op</a>&lt;std::plus&lt;int&gt;</code>,int&gt;::op() returns <code class="computeroutput">MPI_SUM</code>.</p>
<p>Users may specialize <code class="computeroutput"><a class="link" href="is_mpi_op.html" title="Struct template is_mpi_op">is_mpi_op</a></code> for any other class templates that map onto operations that have <code class="computeroutput">MPI_Op</code> equivalences, such as bitwise OR, logical and, or maximum. However, users are encouraged to use the standard function objects in the <code class="computeroutput">functional</code> and <code class="computeroutput">boost/mpi/operations.hpp</code> headers whenever possible. For function objects that are class templates with a single template parameter, it may be easier to specialize <code class="computeroutput">is_builtin_mpi_op</code>. </p>
</div>