------- Additional Comments From sethml at google dot com  2005-08-05 03:43 
-------
The C++ working group examined this issue in April as core language issue 488:
  http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#488

They tentatively concluded that type deduction should fail in this case, leaving
the built-in operator==(int,int) version as the only viable candidate and thus
the code attached to this bug report would compile.

It seems likely that this decision will hold, that the standard will be
clarified, making this code valid.

Can we get this bug re-opened, and perhaps change GCC 4 to accept this code in
anticipation of the C++ standard changing to explicitly allow it?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sethml at google dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20589

Reply via email to