[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problem with derived class function name the same as base class
From: Malte Starostik <malte () kde ! org>
Date: 2002-06-30 4:08:04
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sunday 30 June 2002 00:18 schrieb Stephen Allewell:
> I would expect this if the functions had identical signatures, but
> where the functions are uniquely defined, I would not have thought it
> a problem for the compiler to use the base class function.
>
> Thanks for the info, I'll use the work around for it.
There's a chapter about this in Stroustrup's "The Design and Evolution of
C++", it's a nice read (3.5.3 Base Member Hiding)
- --
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A 27CD 5431 7745 D2F3 C787]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9HoQnVDF3RdLzx4cRAp5SAJ9LIJIuZ9ZraLvpK7rtV1h1ILzTkgCg0QjU
akjaYhF2h6q/OtFwQ+xGVr8=
=qobZ
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic