Created by Adriana Vincelli-Joma
about 3 years ago
|
||
syntax to create class using composition
syntax to create class using inheritance
constructor initializer list
syntax for constructor initializer list
syntax for member object initializer list
syntax for initializing built-in type in initializer list
unusual feature in calling constructors/destructors automatically
name hiding
virtual function
redefining
overriding
polymorphism
when function is not automatically inherited from base class
3 ways static member functions act same as non-static member functions
composition vs inheritance
subtyping
private inheritance
publicizing privately inherited members
protected
protected inheritance
multiple inheritance
subobject
cautions against using multiple inheritance
incremental development
composition and inheritance support incremental development
upcasting
using upcasting with copy-constructor
upcasting pointers and references