This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20812] contextual overload resolution failure for a member name found in two base classes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]