Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CUNYVM.CUNY.EDU!chatty%FRLRI61.BITNET From: chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU Newsgroups: gnu.g++.bug Subject: Pointer on function as default parameter Message-ID: <8910261039.AA20351@lri.lri.fr> Date: 26 Oct 89 10:39:01 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 g++ 1.35 made no fuss about this code. But g++ 1.36 doesn't seem to like it: typedef int (* FOO) (); extern int bar (); class A { public: A (FOO = bar); }; A :: A (FOO) { } % g++ -c b.cc b.cc:11: sorry, not implemented: that operation not supported for default parame ter Stephane Chatty chatty@lri.lri.fr chatty@frlri61.bitnet