[Bug c++/12536] [DR 214/200] partial ordering bug
--- Additional Comments From nathan at gcc dot gnu dot org 2005-06-02 18:10 --- Closing as invalid. Both 4.0 and mainline implement the resolution of DR214, and hence consider the deductions unordered. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12536
[Bug c++/12536] [DR 214/200] partial ordering bug
-- Bug 12536 depends on bug 19203, which changed state. Bug 19203 Summary: [3.4/4.0 Regression] [DR 214] Partial ordering failure between function reference and generic const reference http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19203 What|Old Value |New Value Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12536
[Bug c++/12536] [DR 214/200] partial ordering bug
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-07 07:06 --- Hmm, on the mainline we reject this code: t.cc: In function 'int main()': t.cc:31: error: call of overloaded 'foo(int)' is ambiguous t.cc:7: note: candidates are: some_type foo(const A&) [with A = int] t.cc:13: note: some_type foo(const A&) [with R = int, A = int] t.cc:32: error: call of overloaded 'bar(int)' is ambiguous t.cc:19: note: candidates are: some_type bar(const A&, const A&) [with A = int] t.cc:25: note: some_type bar(const A&, const R&) [with R = int, A = int] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12536