interface: static functions

Markus Kranz Markus_member at pathlink.com
Tue Apr 25 11:47:26 PDT 2006


Is there a reason, one can define static functions in interfaces,
but 'implementing' classes don't really have to implement them?

interface A {
static void doIt();
}

class B : A {
}

is valid dmd 0.154 (linux) code.

Regards,
Markus





More information about the Digitalmars-d mailing list