2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-31 08:22:18 +00:00
Files
python/doc/html/reference/high_level_components/operators_hpp.html
2015-08-05 07:21:49 -04:00

77 lines
5.9 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>operators.hpp</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="Boost.Python Reference Manual">
<link rel="up" href="../high_level_components.html" title="Chapter&#160;2.&#160;High Level Components">
<link rel="prev" href="boost_python_module_hpp/examples.html" title="Examples">
<link rel="next" href="operators_hpp/class_self_ns_self_t.html" title="Class self_ns::self_t">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../images/boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost_python_module_hpp/examples.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../high_level_components.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_hpp/class_self_ns_self_t.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="high_level_components.operators_hpp"></a><a class="link" href="operators_hpp.html" title="operators.hpp">operators.hpp</a>
</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="operators_hpp.html#high_level_components.operators_hpp.introduction">Introduction</a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t.html">Class
<code class="computeroutput"><span class="identifier">self_ns</span><span class="special">::</span><span class="identifier">self_t</span></code></a></span></dt>
<dd><dl>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t.html#high_level_components.operators_hpp.class_self_ns_self_t.self_t_inplace_operators"><code class="computeroutput"><span class="identifier">self_t</span></code> inplace operators</a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t/self_t_comparison_functions.html"><code class="computeroutput"><span class="identifier">self_t</span></code> comparison functions</a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t/self_t_non_member_operations.html"><code class="computeroutput"><span class="identifier">self_t</span></code> non-member operations</a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t/self_t_unary_operations.html"><code class="computeroutput"><span class="identifier">self_t</span></code> unary operations</a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_self_ns_self_t/self_t_value_operations.html"><code class="computeroutput"><span class="identifier">self_t</span></code> value operations</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="operators_hpp/class_template_other.html">Class
template <code class="computeroutput"><span class="identifier">other</span></code></a></span></dt>
<dt><span class="section"><a href="operators_hpp/class_template_detail_operator.html">Class
template <code class="computeroutput"><span class="identifier">detail</span><span class="special">::</span><span class="identifier">operator_</span></code></a></span></dt>
<dt><span class="section"><a href="operators_hpp/object_self.html">Object
<code class="computeroutput"><span class="identifier">self</span></code></a></span></dt>
<dt><span class="section"><a href="operators_hpp/example.html">Example</a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="high_level_components.operators_hpp.introduction"></a><a class="link" href="operators_hpp.html#high_level_components.operators_hpp.introduction" title="Introduction">Introduction</a>
</h3></div></div></div>
<p>
&lt;boost/python/operators.hpp&gt; provides types and functions for automatically
generating Python special methods from the corresponding C++ constructs.
Most of these constructs are operator expressions, hence the name. To use
the facility, substitute the self object for an object of the class type
being wrapped in the expression to be exposed, and pass the result to class_&lt;&gt;::def().
Much of what is exposed in this header should be considered part of the
implementation, so is not documented in detail here.
</p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2002-2005, 2015 David Abrahams, Stefan Seefeld<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost_python_module_hpp/examples.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../high_level_components.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_hpp/class_self_ns_self_t.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>