2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 18:32:24 +00:00

Make sure the class object and cast relationships are registered for

virtual function dispatch classes.


[SVN r19543]
This commit is contained in:
Dave Abrahams
2003-08-12 04:36:42 +00:00
parent 9c6650963f
commit 5008dcbdd4
7 changed files with 109 additions and 33 deletions

View File

@@ -52,6 +52,7 @@ bool is_null(T* p, int)
template <class Pointer, class Value>
struct pointer_holder : instance_holder
{
typedef Value held_type;
typedef Value value_type;
pointer_holder(Pointer);
@@ -73,9 +74,7 @@ struct pointer_holder : instance_holder
template <class Pointer, class Value>
struct pointer_holder_back_reference : instance_holder
{
private:
typedef typename python::pointee<Pointer>::type held_type;
public:
typedef Value value_type;
// Not sure about this one -- can it work? The source object