------- Comment #2 from pinskia at gcc dot gnu dot org  2006-09-04 00:59 -------
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.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|other                       |c++
         Resolution|                            |INVALID


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

Reply via email to