December 04, 2017 SHould this work ? | ||||
|---|---|---|---|---|
| ||||
void main()
{
import std.algorithm.iteration, std.typecons, std.stdio;
[tuple(dchar(0), uint(0))].reduce!((a,b) => a[1]+b[1])(tuple(dchar(0), uint(0))).writeln;
}
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply