Oh, no UFCS for member functions

Luís Marques via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 29 08:19:37 PDT 2016


On Tuesday, 29 March 2016 at 15:08:05 UTC, Anonymouse wrote:
> The ugly workaround if you really don't want to reorganise 
> things (and/or use the tile function directly) is to make a 
> top-level alias tile = Player.tile;

Cool, I was not aware of that workaround. Also, I wonder if this 
workaround doesn't argue somewhat against the rationale for not 
having member-function UFCS, whatever it was.


More information about the Digitalmars-d mailing list