This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Also calling a method via a member pointer which is typedef'd as taking
a base class reference to A,
but is in reality expecting a derived class references to B, but is
passed a derived class reference to C,
which is then dynamic_cast<B> works where it should fail.
-- -------------------------------------------------------------------
John Allen | email: john.allen@iona.com |
IONA Technologies PLC | Direct dial: +353-1-6372264 |
The IONA Building | fax: +353-1-6625244 |
Shelbourne Road | WWW: http://www.iona.com |
Dublin 4, Ireland | ftp: ftp.iona.com |
Search
the IONA source archives (internal only)
-------------- making software work together (tm) -----------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |