This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13548] New: SFINAE fails to eliminate overload
- From: "dave at boost-consulting dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2004 18:47:08 -0000
- Subject: [Bug c++/13548] New: SFINAE fails to eliminate overload
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
It's not clear which operator== is invoked by the main() function in the
enclosed example, but none of them should work. Since neither of
reverse_iterator<int**> or indirect_iterator<int**> is convertible to the
other, SFINAE should eliminate the templated operator== in namespace boost.
--
Summary: SFINAE fails to eliminate overload
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dave at boost-consulting dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13548