void foo(T)(InputRange!T range);

Clever. Shouldn't we all, including Phobos, use this shorter syntax instead?

Further, we could always do

    alias R = InputRange!T;

or

    alias R = typeof(range);

inside the body if needed.

Reply via email to