How to work with an "arbitrary input range"?

Simen kjaeraas simen.kjaras at gmail.com
Thu Oct 21 17:13:32 PDT 2010


Jonathan M Davis <jmdavisProg at gmx.com> wrote:

>> void fun( T )( T t ) if ( isInputRange!T && is( ElementType!T == dchar  
>> ) )
>> {}
>
> Though I'd suggest using Unqual!(ElementType!T).

You're right, of course.


-- 
Simen


More information about the Digitalmars-d mailing list