[Bug c++/19076] Pointer to member function not matched to pointer to member template

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Dec 20 13:40:00 GMT 2004


------- Additional Comments From pcarlini at suse dot de  2004-12-20 13:40 -------
Hi Giovanni. Indeed, I don't think typedefs are directly involved and probably
we can further simplify like this:

===========================================
struct A {}; 
 
template<typename>   struct B; 
template<typename T> struct B<T A::*> {}; 
 
B<void(A::*)()> b;
===========================================

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19076



More information about the Gcc-bugs mailing list