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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user