change 'this' pointer for structs to reference type

Walter Bright newshound1 at digitalmars.com
Sun Nov 2 10:45:45 PST 2008


Frits van Bommel wrote:
> I think "typeof(this) == S*" is the current situation. What they're 
> suggesting is "typeof(this) == ref S".

Not exactly, ref is not a type constructor. typeof(this)==S




More information about the Digitalmars-d mailing list