[Issue 1528] [tdpl] overloading template and non-template functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 1 03:15:51 PST 2013


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



--- Comment #18 from timon.gehr at gmx.ch 2013-03-01 03:15:40 PST ---
(In reply to comment #17)
> > template type parameter deduction without specialization always be MATCHconvert
> 
> AFAIK this is a kludgy implementation detail

It is a bug.

> to make specialization work.

Why wouldn't they work otherwise?

> The
> last time we worked on that we concluded (with Daniel Murphy?) that there
> should be an additional level between convert and exact. I don't remember the
> details right now, but I'll try to find the relevant discussion.

There already is a level between them (conversion to const.)

Anyway, I do not see why another level would be required, or even helpful in
any way.

-- 
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