TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BALOG PAL
from: THOMAS MAEDER
date: 1997-09-25 22:41:00
subject: class member lookup

BP> Another question: is it a new behavior in C++?  MFC writers didn't t
No, it isn't new.
BP> into account, as CSyncObject use similar inherintace:
BP> virtual Lock() = 0;
BP> virtual Lock(something);  // this is defined in CSyncObject
BP> And inherited classes like CMutex, etc do not define but the first.
BP> And as CSyncObject is an abstract class it's not really clear the be
BP> definig the second Lock there.
If   these   methods  are  always  accessed  through  the  CSyncObject
interface, this isn't a problem. It's only a problem if  you  want  to
access Lock(something) through a pointer to CMutex.
Thomas
---
 þ MM 1.0 #0113 þ I'm always sincere, whether I mean it or not ...
---------------
* Origin: McMeier & Son BBS (2:301/138)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.