C#'s greatest mistakes

BLS windevguy at hotmail.de
Sat Nov 27 14:59:09 PST 2010


On 27/11/2010 16:59, Torarin wrote:
> 2010/11/27 Andrei Alexandrescu<SeeWebsiteForEmail at erdani.org>:
>> We use template constraints for that kind of stuff.
>>
>> Andrei
>>
>
> Yes, and that's great, but is there a way to check whether a template
> argument matches a defined interface?

I could not resist..
We should have Implements!

Luca has done some work on it.. but it does not compile anymore. However 
I think the intension is clear.
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=101673


More information about the Digitalmars-d mailing list