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]

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


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


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