c++ dynamic typecasts... (just nosy)

Axel Kittenberger Anshil@gmx.net
Mon Feb 26 10:44:00 GMT 2001


Well actually I'm just nosy... dynamic_cast<type-it>(expr)

How actually does the c++ realize this? I mean does it know at runtime the
type of expr? Does it add some ID fiels to the class "structure"? If so how is
this ID caluclated? 

Well I did search the web a little regarding this, but only found the
how-to-use related info... and reading into gcc-cp source does first confronts one
with details without knowing the schematics....

Maybe has anybody has some literature to point at?
Or a quick answer? :)

Thanks,
- Axel

-- 
´´´´´__´´´´
´´´´/ _ \´´  
´´´/ / | |´  http://dtone.sourceforge.net
´´/ /_/ /´´
´/____,´´´´

Sent through GMX FreeMail - http://www.gmx.net



More information about the Gcc mailing list