🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

pointers to class functions

#703
From: checker
Date: Mon, 12 Oct 1992 04:53
12 lines
707 bytes
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
Technical Details
Message-ID: <719058360.F00011@monly.wlink.nl.wlink.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!wtrlnd!monly.wlink.nl!news-daemon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!wtrlnd!monly.wlink.nl!news-daemon
From: checker@f1.n100.z60.wlink.nl (checker)
Newsgroups: comp.std.c++
Subject: pointers to class functions
Message-ID: <719058360.F00011@monly.wlink.nl.wlink.nl>
Date: Mon, 12 Oct 1992 03:53:42 -0100
Sender: news-daemon@monly.wlink.nl.wlink.nl
Lines: 13