[OT] ISO C++ 17 changes
Andrea Fontana via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 4 00:21:09 PDT 2017
On Tuesday, 4 April 2017 at 06:13:24 UTC, evilrat wrote:
> 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.
text("Your item: ", someName, " = ", someInt");
More information about the Digitalmars-d
mailing list