|
|
"Niall Douglas" <s_sourceforge@xxxxxxxxxxx> writes:
> The solution is to upcall any child deletions so BPL can unhook the
> relevent python object from its C++ sibling.
You could simplify that system a lot by using shared_ptr to hold the
children in C++, and building a new smart pointer around a core
weak_ptr, that you use as the HeldType in your Python classes.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
_______________________________________________
C++-sig mailing list
C++-sig@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/c++-sig
|
|