Uniform call syntax for implicit this.
Michel Fortin
michel.fortin at michelf.com
Thu Feb 3 06:57:18 PST 2011
On 2011-02-02 23:48:15 -0500, %u <dflgkd at sgjds.com> said:
> 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);
> }
> }
I think it should work.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list