Fundamentals of Programming-II. Unit 13.
Run-Time Type Identication and the Casting Operators.
Understanding Run-Time Type Identification (RTTI).
The typeid Operator Can Be Applied to Template Classes.
Use a Reference With typeid.
A Simple Class Hierarchy.
Using dynamic_cast.
Demonstrate dynamic_cast.
How A dynamic_cast Can Be Used To Replace typeid.
The dynamic_cast Operator Can Be Used With Template Classes.
Using const_cast, reinterpret_cast, And static_cast.
Exercises.
Go back to Main Menu
Last Updated 14 May, 2019 20:48. <vadimov@i.ua>