This is not often the case. Much of the time, we will be wrapping

polymorphic classes and class hierarchies related by inheritance. We will

often have to write Boost.Python wrappers for classes that are derived from

abstract base classes.</p>

<p>

Consider this trivial inheritance structure:</p>

<code><pre>

    <span class=keyword>struct </span><span class=identifier>Base </span><span class=special>{ </span><span class=keyword>virtual </span><span class=special>~</span><span class=identifier>Ba