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