string <-> null/bool implicit conversion

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 22 16:09:49 PDT 2015


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.


More information about the Digitalmars-d mailing list