On 9/23/12 8:47 AM, Timon Gehr wrote:
import std.range, std.traits;
import std.stdio;
template Hello(R) if(is(typeof(R._input.takeExactly(2)) == R)){
alias R Hello;
}

That's the nicest. Regarding availability of "_input", I meant to make it available systematically as "input" for ranges where the notion makes sense.

Andrei

Reply via email to