taking address of a non-static or bound method

Mark-Andre Hopf hopf@informatik.uni-rostock.de
Thu Jul 29 06:05:00 GMT 1999


 till egcs 1.1.2 it was possible with C++ to take the address of a
non-static member function with a syntax like `&method' or

 Now egcs-19990718 issues a warning and requires me to write
`&class::method' in both cases. Since the old behaviour was a neat feature
and most of my programs depend on it, I've added a `ill-pmf', `no-ill-pmf'
option to suppress the warning.


    TOAD -- A Simple and Powerful C++ GUI Toolkit for X-Windows
            Freely available at http://toad.home.pages.de/
__(/_--_\)___________ Mark-André Hopf <hopf@informatik.uni-rostock.de>

More information about the Gcc-patches mailing list