[OT] ISO C++ 17 changes

evilrat via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 3 23:13:24 PDT 2017


On Tuesday, 4 April 2017 at 05:53:00 UTC, Patrick Schluter wrote:
> On Tuesday, 4 April 2017 at 05:36:55 UTC, evilrat wrote:
>> On Tuesday, 4 April 2017 at 05:18:26 UTC, Dukc wrote:
>>> On Tuesday, 4 April 2017 at 02:43:26 UTC, evilrat wrote:
>>>> [...]
>>>
>
> writeln("Your item: ", someName, " = ", someInt");
>
> ????

This works due to variadic args nature of writeln, but the point 
is that it might be used with simple string assignment and other 
functions that takes one string, besides, the point is to avoid 
clutter and improve readability of code.


More information about the Digitalmars-d mailing list