mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Tutorial updates
[SVN r17598]
This commit is contained in:
@@ -25,8 +25,9 @@
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
Continuing, now, at last, we can even derive from our base class Base in
|
||||
Python. Before we can do that, we have to set up our <tt>class_</tt> wrapper as:</p>
|
||||
Continuing, we can derive from our base class Base in Python and override
|
||||
the virtual function in Python. Before we can do that, we have to set up
|
||||
our <tt>class_</tt> wrapper as:</p>
|
||||
<code><pre>
|
||||
<span class=identifier>class_</span><span class=special><</span><span class=identifier>Base</span><span class=special>, </span><span class=identifier>BaseWrap</span><span class=special>, </span><span class=identifier>boost</span><span class=special>::</span><span class=identifier>noncopyable</span><span class=special>>(</span><span class=string>"Base"</span><span class=special>)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user