UFCS limit

Tejas notrealemail at gmail.com
Fri Jun 17 05:17:20 UTC 2022


On Friday, 17 June 2022 at 01:04:28 UTC, Paul Backus wrote:

>
> Nope. The way UFCS works is that allows you to call free 
> functions using member-function syntax, and member-function 
> syntax is always `object.memberName`, so UFCS only works for 
> functions that have a name, not anonymous functions.

Would it be worthwhile to extend the scope of UFCS to accomodate 
this use case as well though??


More information about the Digitalmars-d-learn mailing list