[Boost.Python] Using Weak Ptrs with Boost Python?
Trying to set up a dependency in C++ with a parent-child relationship.
The parent contains the child and the child has a weak pointer to the
parent.
I would also like to be able to derive from the parent in Python.
However, when I do this, I get a weak pointer error connecting up this
parent-child relationship.
C++ code:
#include
Dan Bailey wrote:
Trying to set up a dependency in C++ with a parent-child relationship. The parent contains the child and the child has a weak pointer to the parent.
I'd recommend you re-ask on the python c++-sig list, there is a better concentration of boost.python folks over there. -t
participants (2)
-
Dan Bailey
-
troy d. straszheim