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

« back to all changes in this revision

Viewing changes to yo/polymorphism/inheritance.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:
88
88
 
89
89
Assuming that a tt(Randbuffer: public std::streambuf) has been created for
90
90
generating random numbers then tt(IRandStream) can be derived from
91
 
tt(Randbuffer) and tt(std::ostream). That way the tt(ostream) base class can
 
91
tt(Randbuffer) and tt(std::istream). That way the tt(istream) base class can
92
92
be initialized using the tt(Randbuffer) base class.
93
93
 
94
94
As a tt(RandStream) is definitely not a tt(Randbuffer) em(public) inheritance