This have been asked in the interview.
How to write own dynamic_cast. I think, on the basis of typeid\'s name function.
Now how to implement own typid? I hav
Easy. Derive all objects from some typeid interface with a virtual function WhoAmI(). Override it in all deriving classes.