D classes inherane. How it works.
Lionello Lunesu
lionello at lunesu.remove.com
Wed Apr 9 20:03:38 PDT 2008
"Jason House" <jason.james.house at gmail.com> wrote in message
news:fthbok$vs8$1 at digitalmars.com...
> It should always be considered an error to call a virtual member function
> in a destructor. Someone should make a bug report for this. I would if I
> was at a computer and not typing with my thumb...
>
I agree, but this would mean that only final, static and global functions
are allowed in ctors/dtors? Would be interesting to add a warning for this,
to see how many times it occurs in existing code.
L.
More information about the Digitalmars-d
mailing list