Topic: pointers to class functions


Author: checker@acf5.NYU.EDU (checker)
Date: 12 Oct 92 01:53:42 GMT
Raw View
bilan@acs.ucalgary.ca (Bohdan Jens Bilan) writes:
>Can anyone tell me how I can assign a function pointer to a
>function, (ie. fptr=&foo()) when the assignment happens within a
>member function of the same class?

If you mean, what do pointers to members look like, see C++PL2 p. 166.

Followups directed to comp.lang.c++.

Chris




Author: checker@f1.n100.z60.wlink.nl (checker)
Date: Mon, 12 Oct 1992 03:53:42 -0100
Raw View
Organization: New York University

bilan@acs.ucalgary.ca (Bohdan Jens Bilan) writes:
>Can anyone tell me how I can assign a function pointer to a
>function, (ie. fptr=&foo()) when the assignment happens within a
>member function of the same class?

If you mean, what do pointers to members look like, see C++PL2 p. 166.

Followups directed to comp.lang.c++.

Chris





Author: bilan@acs.ucalgary.ca (Bohdan Jens Bilan)
Date: 11 Oct 92 16:50:51 GMT
Raw View
Can anyone tell me how I can assign a function pointer to a
function, (ie. fptr=&foo()) when the assignment happens within a
member function of the same class?