clear() causes crash?
Dicebot
m.strashun at gmail.com
Tue Apr 30 11:59:17 PDT 2013
On Tuesday, 30 April 2013 at 18:54:45 UTC, Luís Marques wrote:
> On Monday, 29 April 2013 at 21:58:46 UTC, Jonathan M Davis
> wrote:
>> zeroes out the vtbl
>
> Hmm, I was expecting that DMD, at least in -release mode,
> optimize foo() to a direct call, since there's no inheritance.
It was discussed a lot of times in this newsgroup, you can google
it quite easily. To sum up: it really can't, unless it is marked
as final.
More information about the Digitalmars-d
mailing list