[Phobos request] Op template
Temtaime via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 6 10:17:41 PDT 2016
Hi !
I've found that next template will be convenient for use in
chains and cetera.
Op!`+` == (a, b) => a + b
For example: auto sum = arr.fold!(Op!`+`).
Suggests ?
More information about the Digitalmars-d
mailing list