D's Destructors are What Scott Meyers Warned Us About
12345swordy
alexanderheistermann at gmail.com
Wed May 23 02:39:17 UTC 2018
On Wednesday, 23 May 2018 at 02:15:25 UTC, Manu wrote:
> It should recurse the ClassInfo calling the dtors there to
> perform a
> full virtual destruction.
Why? That seems restrictive as there is possibility that the
parent class have an empty destruction with no attributes which
your suggestion to be attribute unfriendly.(Unless the attributes
are determine at compile time)
Alexander
More information about the Digitalmars-d
mailing list