This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20812] contextual overload resolution failure for a member name found in two base classes
- From: "SWElef at post dot sk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2005 07:33:53 -0000
- Subject: [Bug c++/20812] contextual overload resolution failure for a member name found in two base classes
- References: <20050407180310.20812.SWElef@post.sk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From SWElef at post dot sk 2005-04-08 07:33 -------
Well, if we speak about other compilers, MSVC++ Toolkit 2003 supports my view
on the first snippet and emits an ICE on the second. And the behaviour of
Comeau Online is pretty irrelevant as it fails deduction even for test<B1>(0).
>From my tests it seems that Comeau Online fails deduction whenever there is
a non-trivial expression using a template argument in the template function
signature and "typename void_holder<int B1::*,&T::foo>::type" is already too
complicated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20812