This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13548] 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 22:45:23 -0000
- Subject: [Bug c++/13548] SFINAE fails to eliminate overload
- References: <20040102184707.13548.dave@boost-consulting.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at boost-consulting dot com 2004-01-02 22:45 -------
Bluntly starting your reply with "you are wrong", especially when you, in
fact, are wrong, is impolite. I'm just trying to help by reporting this one,
and wish to be treated accordingly.
That base is not enough to make it match. What is the return type of this
function?
boost::detail::enable_if_interoperable<boost::indirect_iterator<int**,
boost::use_default,
boost::use_default, boost::use_default, boost::use_default>,
boost::reverse_iterator<int**
>, bool>::type
Is not a valid type, therefore the overload should be removed. Substitution
failure is not an error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13548