Thanks for help!

A better solution would be to write a
custom to-python conversion for shared_ptr<BaseClass>

Tried it and works perfectly. Good hint!

This is probably something boost::python should do automatically if
BaseClassWrap is a subclass of wrapper<BaseClass>.  If it doesn't, and
you can get me a complete example that demonstrates the problem, I'll
see about making a patch to make that happen

I'll have some free days in February so I'll put this into a small project for you to play around with, so the whole procedure can be made a little easier.

Thanks a lot for your help!

Cheers.

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

Reply via email to