------- Comment #3 from pluto at agmk dot net 2006-09-04 06:01 ------- (In reply to comment #2) > t.cc: In function ‘void test(base*, void (base::*)())’: > t.cc:19: error: converting from ‘void (base::)()’ to ‘void > (*)()’ > > Why do you think this is valid thing to do? > > There is no way to get a normal function pointer from a pointer to member > function. >
this is gnu c++ extension: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Bound-member-functions.html#Bound-member-functions -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28945