On 2013-02-28 18:08, Andrei Alexandrescu wrote:
T tap(alias func)(T x) { func(x); return x; }It's the kind of chaff that doesn't do any real work and only dilutes the value of a library, but I do think a tap tapping into a range does real work and would be a valuable addition.
What about a function allowing both? -- /Jacob Carlborg
