string <-> null/bool implicit conversion
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 22 21:22:22 PDT 2015
On 08/23/2015 01:09 AM, deadalnix wrote:
> On Saturday, 22 August 2015 at 21:23:19 UTC, Timon Gehr wrote:
>> For the comma operator, I think it's pretty clear that the usage of
>> ',' to separate components of a tuple would be more useful.
>>
>> (With L-T-R evaluation, replacing usages of the comma operator is
>> easy, e.g. 'a,b,c' becomes '(a,b,c)[$-1]', not to speak about the
>> delegate option.)
>
> Which can be wrapped into a simple construct à la last(a, b, c) or similar.
Which can even be force-inlined.
More information about the Digitalmars-d
mailing list