how does isInputRange(T) actually work?

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 22 14:22:41 PDT 2015


> That makes sense. It seems to me that D has very... special but 
> effective syntax. I'm having a hard time remembering all the 
> keywords and expression forms (especially of IsExpression) but 
> it's definitely a vast improvement over C++'s half baked pile 
> of whatever. Thanks for the help, everyone.

The `is` expression is complicated and has a bunch of different 
usage syntax, but it's like one of those little multitools. 
Complicated to figure out how to use, but extremely flexible and 
able to do a lot of cool things.


More information about the Digitalmars-d-learn mailing list