hared_from_this could make this nice.)
- Original Message
From: Jahn Fuchs
To: cplusplus-sig@python.org
Sent: Wed, November 25, 2009 8:16:58 AM
Subject: [C++-sig] boost python and weak_ptr from a shared_ptr argument
Hello boost python users,
I really like boost python but I stumbled
Hello boost python users,
I really like boost python but I stumbled in a problem I don't know how
to solve, maybe you have an idea:
I have a class KnowledgeBase that holds an shared_ptr to an KBObject and
also a weak_ptr to an KBObject. If I set the shared_ptr with the
set_shared_ptr functi