DIP44: scope(class) and scope(struct)

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Aug 23 18:06:39 PDT 2013


On Saturday, 24 August 2013 at 00:48:46 UTC, Andrej Mitrovic 
wrote:
> On Saturday, 24 August 2013 at 00:45:46 UTC, H. S. Teoh wrote:
>> Destroy! ;-)
>
> I won't destroy but I'll say avoid the struct/class keywords 
> and use `scope(this)` instead, it looks nicer and will work 
> easier in generic code.

Perhaps scope(~this) is actually more appropriate.


More information about the Digitalmars-d mailing list