2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 05:02:17 +00:00

Added reset()

[SVN r16466]
This commit is contained in:
Dave Abrahams
2002-12-01 16:14:44 +00:00
parent ae9f394906
commit 3c19b89d9a

View File

@@ -154,6 +154,7 @@ namespace boost { namespace python
T* operator-> () const;
T& operator* () const;
T* get() const;
void reset();
T* release();
operator bool_type() const; // never throws
@@ -261,6 +262,14 @@ T* release();
x;</code></dt>
</dl>
<pre>
void reset();
</pre>
<dl class="function-semantics">
<dt><b>Effects:</b> <code>*this&nbsp;=&nbsp;handle&lt;T&gt;();</code></dt>
</dl>
<h4><a name="handle-spec-observers">Class <code>handle</code>
observers</a></h4>
<pre>