Re: dynamic_cast to another base class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Aseem,

> Why does dynamic_cast fail ??

Worked on my machine.

What version of GCC are you using?

The only other reason I can think of that it could be failing is if your
class A, B, C, D lack virtual functions (which are required for dynamic_cast
to work).

Sincerely,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux