DIP27 available for destruction
deadalnix
deadalnix at gmail.com
Wed Feb 27 03:18:32 PST 2013
On Wednesday, 27 February 2013 at 11:01:01 UTC, Timon Gehr wrote:
> I see. This problem does not occur. (There is no UFCS in the
> above code.)
>
It occurs the same way with UFCS as they are function call at the
end.
>>>> It may be limited to the case where expression can't be used
>>>> as
>>>> statement because it has no effect.
>>>
>>> Then it is not worth it.
>>
>> It would kick in with the example you gave.
>
> Not necessarily, it would depend on the context of the
> expression I gave.
That is true. Which is probably a bad thing.
More information about the Digitalmars-d
mailing list