Need help with dynamic_cast across shared libraries with gcc 3.2.3.
Eljay Love-Jensen
eljay@adobe.com
Thu Jul 17 17:25:00 GMT 2003
Oops, forgot:
[1] This will be NULL if the Base class instance is not of the derived type, and the derived pointer type otherwise -- by CONVENTION (and due diligence!). The Base class doesn't actually KNOW anything about the methods that the other class supports (it doesn't even know, nor need to know, that the Derived class is derived from the Base class). A forward declaration that the class exists "somewhere" is sufficient to specify the pointer.
--Eljay
More information about the Gcc
mailing list