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