How should class objects created in betterC be destroyed

Imperatorn johan_forsberg_86 at hotmail.com
Mon Nov 6 05:52:18 UTC 2023


On Monday, 6 November 2023 at 05:30:02 UTC, zoe wrote:
> I customized object.d in -betterc mode and created NEW 
> templates, with modules I can seemingly create classes without 
> extern(C++) mode, and type conversions in function calls seem 
> to work fine. But when destroy doesn't find a way to call the 
> __xtdor() method of the corresponding subclass, is there any 
> way to execute __xtdor() correctly

Do you have the implementation somewhere?


More information about the Digitalmars-d-learn mailing list