www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/17/13:32:37

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: An OOP question - pointer to member function
Date: Fri, 17 Apr 1998 09:48:49 -0700
Organization: Alcyone Systems
Lines: 16
Message-ID: <353787F1.2715F12A@alcyone.com>
References: <3536C543 DOT 70D1EF9A AT ms1 DOT accmail DOT com DOT tw>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

VAMPYR wrote:

 I put a member function pointer to a pointer variable,
> but it appears errors!

There are two problems.  First, member pointers must be to the same, and
second, the name of a member function pointer is not dependent on the
instantiated class, but on the class name itself.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
 "All the people in my neighborhood / look and get mad and sing"
                                   / Public Enemy

- Raw text -


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