Broken NVI support

Jonathan M Davis jmdavisProg at gmx.com
Mon Aug 13 12:49:44 PDT 2012


On Monday, August 13, 2012 20:48:07 Maxim Fomin wrote:
> So, is this a bug or my NVI misunderstanding is wrong and what is
> D design policy in this issue?

Currently, only public and protected functions are ever virtual:

http://d.puremagic.com/issues/show_bug.cgi?id=4542

This may or may not change for interfaces in order to match TDPL, but I 
wouldn't expect it to ever change for classes. You should be able to do NVI 
just fine with protected.

- Jonathan M Davis


More information about the Digitalmars-d mailing list