What happened to the alias this = identifier syntax in 2.062?

Timon Gehr timon.gehr at gmx.ch
Fri Feb 22 15:20:54 PST 2013


On 02/23/2013 12:10 AM, Joshua Niehus wrote:
> On Friday, 22 February 2013 at 21:23:04 UTC, Timon Gehr wrote:
>> [snip].. or the alias this syntax should be deprecated in favour of a
>> specially named member function.
>
> pseudonym foo;
>
>

auto opPseudonym() { ... }

alias opPseudonym=foo;


More information about the Digitalmars-d mailing list