This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: dynamic_cast problem


On 13/11/2007, ganesh subramonian <gun_raj@yahoo.com> wrote:
>
>  Can someone tell me why the cast2 fails but cast1
> works? What effect does the cstyle cast have?

It makes the program incorrect.

This mailing list is for discussion of GCC development, for help using
GCC use the gcc-help list. For help with C++ try a newsgroup such as
comp.lang.c++

Jon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]