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).