A Briefer Syntax for Using Concepts
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 7 06:55:59 PDT 2014
Sergei Nosov:
> void foo(InputRange range1, InputRange range2); // how to
> specify that InputRange should be exactly the same type? or
> possibly distinct types?
I think the Concepts lite proposal faces this problem too. Take a
look.
But so far Andrei was against the idea of having lite concepts in
D (I am not sure why).
Bye,
bearophile
More information about the Digitalmars-d
mailing list