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

Reply via email to