[Issue 12620] Compiler picks lesser template specialization match for float array alias value parameters
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jan 25 02:24:17 PST 2015
https://issues.dlang.org/show_bug.cgi?id=12620
mfx <markus at oberhumer.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at oberhumer.com
--- Comment #2 from mfx <markus at oberhumer.com> ---
Not a bug. You must use 1.0f (note the "f") if you want a float constant.
alias foo3 = Foo!([1.0f]);
--
More information about the Digitalmars-d-bugs
mailing list