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 vtblHmm, 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.
