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
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to