[Bug c++/13548] SFINAE fails to eliminate overload

dave at boost-consulting dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 2 22:45:00 GMT 2004


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



More information about the Gcc-bugs mailing list