// Submitted by Nathan Sidwell // Bug: g++ was crashing after giving errors. template void connect_to_method( T *receiver, void (T::*method)()) {} class Gtk_Base { public: void expose(); void show(); void show(int); Gtk_Base(); }; Gtk_Base::Gtk_Base() { connect_to_method(this,&show); // ERROR - invalid pmf expression connect_to_method(this,&expose); // ERROR - invalid pmf expression }