-
-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 5896 - const overload matching is succumb to template parameter one #45
Conversation
|
I don't think this solution is correct. The 'this' and the template parameters should participate equally in the overloading process. |
|
Improved. Separate and prefer 'ethis' matching from tiargs matching instead add match level. |
|
This is much better. But I disagree with the rationale for preferring an ethis match. The ethis matching should act as just another parameter as far as overload matching goes. |
|
The 3rd try. 1st try 9rnsr@9967e84 |
|
Sorry, I found a test-case that does not work properly. 3rd try is invalid. |
|
3rd re-try. Deducing function template process has two steps to shrink overload set.
|
temporarily disable std/container on freebsd64
…eter one Treat matching levels separately based on initial template arguments and inferred from function arguments.
|
Added fix for bug 4953. @WalterBright , I'm sure it is time to fix these two bugs. |
Issue 5896 - const overload matching is succumb to template parameter one
fix lib suffix
http://d.puremagic.com/issues/show_bug.cgi?id=5896