🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #698

Re: pointers to class functions

#698
From: checker
Date: Mon, 12 Oct 1992 01:53
10 lines
731 bytes
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
Technical Details
Message-ID: <1989@acf5.NYU.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!rutgers!cmcl2!acf5!checker
References: <92Oct11.165051.22376@acs.ucalgary.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!rutgers!cmcl2!acf5!checker
From: checker@acf5.NYU.EDU (checker)
Newsgroups: comp.std.c++
Subject: Re: pointers to class functions
Message-ID: <1989@acf5.NYU.EDU>
Date: 12 Oct 92 01:53:42 GMT
References: <92Oct11.165051.22376@acs.ucalgary.ca>
Followup-To: comp.lang.c++
Organization: New York University
Lines: 10