[OT] ISO C++ 17 changes

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 4 06:38:57 PDT 2017


On 04/04/2017 03:29 PM, Meta wrote:
> On Tuesday, 4 April 2017 at 05:04:04 UTC, Dukc wrote:
[...]
>>     fold!"+"(1, 2, 3).writeln; //6
[...]
> However, it's still more verbose. My goal was to emulate almost exactly
> what C++ was doing by using a template so you could just write
> "fold!('+', args)"

I'm probably missing something, but `fold!"+"(args)` isn't more verbose 
than `fold!('+', args)`.


More information about the Digitalmars-d mailing list