Issue with template constraints in numeric types

data pulverizer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 3 05:29:56 PDT 2017


On Thursday, 3 August 2017 at 12:24:02 UTC, data pulverizer wrote:

> The same issue occurs when I try using template specializations 
> instead. ...

That is T test(T: double)(T x, T y){...} and T test(T)(T x, T 
y){...}

Thanks


More information about the Digitalmars-d-learn mailing list