[C++-sig] Cplusplus-sig Digest, Vol 125, Issue 5

Carlos Duran carlos_wurt at zohomail.eu
Thu May 14 14:34:36 EDT 2020


Hi,



I tried that solutions but they didn't work, furthermore, I thought that polymorphisim only works on pointers. I also tried changing to reference(Component&) and adding a HeldType in the import module:



class_<ComponentWrap, Component* /*Or boost::shared_ptr<Component>*/, boost::noncopyable>("Component", init<>())



but all of this is futile.



Thank you 



Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20200514/15f73476/attachment.html>


More information about the Cplusplus-sig mailing list