~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/inheritance/intro.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2013-05-30 13:32:18 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20130530133218-k39mr5uredd093jr
Tags: 9.7.2-1
New upstream release, repairs several minor left-over flaws.
This release incorporates 9.7.0 and 9.7.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
should be considered objects of the base class and inheritance used to
52
52
implement derived classes em(in-terms-of) their base classes is postponed
53
53
until the next chapter (ref(POLYMORPHISM)).
 
54
 
 
55
Inheritance (and polymorphism, cf. chapter ref(POLYMORPHISM)) can be used with
 
56
classes and structs. It is not defined for unions.
 
57