Broken NVI support
Era Scarecrow
rtcvb32 at yahoo.com
Mon Aug 13 11:56:16 PDT 2012
On Monday, 13 August 2012 at 18:48:09 UTC, Maxim Fomin wrote:
> Hello.
> Please, put attention to following non-runnable due to linker
> errors sample http://dpaste.dzfl.pl/cad4b558.
[quote]
interface I
{
private:
void bar();
void baz();
final void foo()
[/quote]
Isn't it in the specs that overriding methods need to be public
functions? And interfaces are effectively for public interface
only so there shouldn't be any private methods? I mean, what's
the point in mentioning bar and baz if you can't call them? Or
even foo in this case....
More information about the Digitalmars-d
mailing list