637

C++ Question

tmt$ cat eroare.c typedef bool (*TFunctie)();class XX{ TFunctie F; public: bool fun(){return true;} XX() { F=fun; }};int main(){XX x;}tmt$g++ eroare.c eroare.c: In constructor `XX::XX()':eroare.c:8: error: argument of type `bool (XX::)()' does not match `bool (*)()'tmt$Lume ! Cum sa scap de aceasta eroare?!:) Anybody can help?!:)
0