www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/27/15:18:55

From: istvan AT outer-net DOT com (Steve Marton)
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with C++ and function pointers
Date: Fri, 27 Feb 1998 19:12:05 GMT
Organization: Shaw FiberLink Ltd.
Lines: 12
Message-ID: <6d731j$cu82@kidd.tor.shaw.wave.ca>
NNTP-Posting-Host: ts94.outer-net.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm trying to point to a member function of a class. But for some
reason, its address &Class::f is always 1. Even in Class::f1(){&f==1}.
That's the same for any member function. How come? How can I point to
it?

I'd really appreciate some help.

thanks

Steve Marton
http://www.geocities.com/SiliconValley/Park/9784

- Raw text -


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