"static" UFCS
Timon Gehr
timon.gehr at gmx.ch
Sat Jun 16 07:56:45 PDT 2012
On 06/16/2012 03:37 PM, Jacob Carlborg wrote:
> On 2012-06-16 02:50, Walter Bright wrote:
>
>> What's the compelling use case?
>
> The use case is like with UFCS you can emulate adding new instance
> methods to a class. With this you can emulate adding new static methods
> to a class.
>
That is not a use case. It is a description of the feature.
The most compelling use case for UFCS is function call chains.
More information about the Digitalmars-d
mailing list