On 27/11/2010 16:59, Torarin wrote:
2010/11/27 Andrei Alexandrescu<seewebsiteforem...@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

Reply via email to