[gnu.g++.bug] Pointer on function as default parameter

chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU (10/26/89)

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