[Issue 2785] Interfaces should be able to require non-member functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 2 11:49:34 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2785
------- Comment #3 from jarrett.billingsley at gmail.com 2009-04-02 13:49 -------
OK, then maybe I'm not understanding what you're proposing. When I see "member
function" I think "a function meant to be called on an instance of a class" as
opposed to on the class itself. (I'd love to see 'abstract static' methods,
which is what I thought this was proposing.)
Are you saying that when a class implements Foo, there must be a function void
bar(int, Foo, double) accessible from that scope? What horrid things are you
planning on doing with that? ;)
--
More information about the Digitalmars-d-bugs
mailing list