private is non-virtual: Stuck in C++-thinking?

Peter Alexander peter.alexander.au at gmail.com
Fri Oct 19 15:05:46 PDT 2012


On Friday, 19 October 2012 at 21:22:28 UTC, monarch_dodra wrote:
> On Friday, 19 October 2012 at 21:09:05 UTC, Nick Sabalausky
>> So am I missing something, or was the sample case above 
>> overlooked when
>> making the "private must be non-virtual" decision?
>
> According to TDPL, this should be legal. In particular, there is
> an entire section about it regarding NVI.
>
> No idea what it going on, but I'm curious for answers.

It's a bug.

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


More information about the Digitalmars-d mailing list