[Issue 3162] can't fully use floats computed in CTFE as template parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 10 08:15:22 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3162





--- Comment #4 from Witold Baryluk <baryluk at smp.if.uj.edu.pl>  2009-07-10 08:15:21 PDT ---
Additionally if i omit "double" in "static const double", it compiles! It is
the same type!


I was also testing this ctfe function

T i(T)(T x) {
  return x;
}


and only with T=float,double,real i got errors.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list