C++0x Concepts - Dead?

Christian Kamm check at ldc-commits.com
Wed Jul 15 07:13:17 PDT 2009


BLS Wrote:
> I have somehow the idea that D constraints and template specialization 
> should merge.

I also feel that specialization may just be a special case of constraints -
with the added benefit that implicit function template instantiation works.

Is there a difference between
template Foo(T : U) {} and 
template Foo(T) if(is(T : U)) {} ?



More information about the Digitalmars-d-announce mailing list