free func "front" is not picked up as a candidate when doing range.front(...)

aliak something at something.com
Wed Feb 7 20:17:54 UTC 2018


On Wednesday, 7 February 2018 at 20:08:10 UTC, Paul Backus wrote:
>
> You can only call a function with UFCS syntax if the object 
> you're calling it with does not have a member with the same 
> name as the function. Both iota's `Result` type and 
> `FilterResult` have properties named "front", so you can't call 
> your front function on them using UFCS syntax.

ahhh... bummer.

Do you know if it is a limitation that is yet to be implemented 
or one that will not (cannot?) be implemented and if so what the 
reason is?




More information about the Digitalmars-d-learn mailing list