Uniform call syntax for implicit this.

%u dflgkd at sgjds.com
Wed Feb 2 20:48:15 PST 2011


When implemented, will uniform call syntax work for the "this"
object even if not specified?

For example, will foo() get called in the following example?

void foo(A a, int b) {}

class A {
    void test() {
        this.foo(10);
        foo(10);
    }
}


Thanks


More information about the Digitalmars-d mailing list