Inheritance

  • Covariant return type
  • Name hiding
  • Fragile base class
  • Abstract class
    • Pure virtual destructor
  • RTTI
    • dynamic cast
  • Deleted methods
  • Multiple inheritance
    • virtual inheritance and diamond problem
  • Liskov's substitution principle


C++ cast

  • static cast
  • dynamic cast
  • const cast


Modifié le: lundi 1 avril 2019, 12:52