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

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Fri Jan 21 01:05:00 GMT 2005


------- Additional Comments From giovannibajo at libero dot it  2005-01-21 01:05 -------
Ah well, I guess this patch is not enough for this:

---------------------------
struct A {
   void func(void);
};

template <class T>
void foo(T A::* );

void bar(void) {
   foo(&A::func);
}
---------------------------

which is about where I stopped. 

-- 


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



More information about the Gcc-bugs mailing list