On Monday, 12 October 2015 at 20:51:40 UTC, Nordlöw wrote:
On Monday, 12 October 2015 at 20:39:11 UTC, Andrei Alexandrescu wrote:
Alexandrescu wrote:
We can add iota!T() with no arguments that spans the entire range of T
(integral). -- Andrei

From a quick glance I couldn't find a way to reuse the existing overloads. Can anybody come with a reusing solution?

Wouldn't it be enough changing the overload

auto iota(E)(E end)

to

auto iota(E)(E end = E.max)

?

Reply via email to