Adam D. Ruppe <destructionator at gmail.com> wrote: [snip] > Anyway, what's the right thing to do here? I'd say: void fun( T )( T t ) if ( isInputRange!T && is( ElementType!T == dchar ) ) {} -- Simen