constraints,template specialization,drop IFTI

BLS windevguy at hotmail.de
Wed Jul 15 11:00:40 PDT 2009


Jarrett Billingsley wrote:
> On Wed, Jul 15, 2009 at 1:42 PM, BLS<windevguy at hotmail.de> wrote:
>> Quote : "
>> Constraints are not involved with determining which template is more
>> specialized than another. "
> 
> Well that is *completely* lame.  I would have expected
> 
> template Foo(int N : 5)
> 
> to be sugar for
> 
> template Foo(int N) if(N == 5)
> 
> Why *isn't* that the case?

Tu me demande ? Pas d' idee. ..have to ask the gurus



More information about the Digitalmars-d mailing list