Hi,
I've got problem with embedded python. When using some classes inside embedded
python, the the number of constructor/destructor doesn't match. I don't have
code because it is a big project. But the class I have problem with looks like 
that:

class SessionImpl;
class Session
{
  boost::shared_ptr<SessionImpl> m_pImpl;

  ...
};

So as you can see when the destructor is not called appropriate times, the
shared_ptr isn't destroyed. I've tried searching but no working solution was
found.

thanks

Trigve

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to