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