[OT] ISO C++ 17 changes

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 4 07:07:40 PDT 2017


On Tuesday, 4 April 2017 at 13:45:47 UTC, Meta wrote:
> I mean what goes on inside fold. If you look at the C++ example 
> it's very concise and IMO beautiful:

Luckily that hardly matters, you just need to define one generic 
template for the whole program, which can even be in a library.

Btw my fold template implementation was erroneous, I forgot to 
mixin the operator string passed to it.


More information about the Digitalmars-d mailing list