change 'this' pointer for structs to reference type

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Sun Nov 2 10:59:50 PST 2008


Walter Bright wrote:
> 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

As long as it's still a reference, that's close enough for 'this' :).



More information about the Digitalmars-d mailing list