final methods by default

weaselcat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 20 15:11:51 PDT 2015


On Friday, 20 March 2015 at 14:25:22 UTC, ref2401 wrote:
> Why aren't methods of class final by default?

history

use final class, it should devirtualize all methods.
see: https://github.com/D-Programming-Language/dmd/pull/4427


More information about the Digitalmars-d-learn mailing list