www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/10:04:24

From: Bojan Resnik <resnikb AT eunet DOT yu>
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: <PSPrOAo8bOANXM=aVJPt1A4WBI0Q@4ax.com>
NNTP-Posting-Host: p-2.85.eunet.yu
Mime-Version: 1.0
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++?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019