Path: utzoo!attcan!uunet!mcsun!hp4nl!fwi.uva.nl!delft From: delft@fwi.uva.nl (Andre van Delft) Newsgroups: comp.lang.c++ Subject: Address of member function Message-ID: <1392@carol.fwi.uva.nl> Date: 24 Oct 90 09:13:35 GMT Sender: news@fwi.uva.nl Reply-To: delft@fwi.uva.nl (Andre van Delft) Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam Lines: 14 For a call-back mechanism, I want to store the address of a non-static class member function. Turbo-C++ does not allow this ("member function pointers are not true pointer types, and do not refer to any particular instance of a class"). What does ANSI-C++ say about this? Are C++ implementations free to decide whether addresses of member functions are normal addresses? If so, what do other C++ implementations decide? Anyway, could ANSI-C++ be extended with a new kind of "access specifier" for a member function so that one can take the address of it? Andre van Delft DELFT@fwi.uva.nl