https://d.puremagic.com/issues/show_bug.cgi?id=12510
Martin Nowak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Martin Nowak <[email protected]> 2014-04-03 01:16:47 PDT --- I think this might be the result of bug 1528. Not sure, but I think the empty template arguments are matched with MATCHexact, just like a plain function declaration. And subsequently converting both function arguments to const is deemed a better match than the template. You can use this instead. bool foo (const C lhs, const C rhs) { foo!(C, C)(cast()lhs, cast()rhs); } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
