From: Bojan Resnik Newsgroups: comp.os.msdos.djgpp Subject: Pointers to member functions of unknown class Date: Wed, 05 Apr 2000 13:40:13 +0200 Organization: Public news server of EUnet Yugoslavia Lines: 8 Message-ID: NNTP-Posting-Host: p-2.85.eunet.yu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: SOLAIR2.EUnet.yu 954935001 23657 213.240.2.85 (5 Apr 2000 11:43:21 GMT) X-Complaints-To: abuse AT EUnet DOT yu NNTP-Posting-Date: 5 Apr 2000 11:43:21 GMT X-Newsreader: Forte Agent 1.6/32.525 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Borland C++Builder is capable of using "closures" - pointers to member functions which store the "this" pointer of the object along with the pointer to the method. This allows a method of any class to be called, as long as it has the right signature. Is there a portable way to achieve the same effect in standard C++?