C++0x Concepts - Dead?

Walter Bright newshound1 at digitalmars.com
Thu Jul 16 14:10:34 PDT 2009


aarti_pl wrote:
> My proposal would make meta programing in D much more intuitive (because 
> of using rules - not bunch of corner cases as it is today). 
> Unfortunately almost no one from NG commented on that...

Thank you, but I don't see in your proposal a method that can:

1. instantiate templates only if a value argument is prime or odd.

2. instantiate templates only on a type which supports addition and has 
the method foo.

Note that C++ Concepts could do (2) but could not do (1).


More information about the Digitalmars-d-announce mailing list