On (19 Apr 97) Craig A McKay wrote to Pierre Phaneuf...
CA> But why, Pierre? It seems perfectly logical that a class could have
CA> the characteristics of two seperate super-classes. In C++, I think
CA> the I/O stream heirarchy looks like:
CA> stream
CA> |
CA> +------+------+
CA> | |
CA> istream ostream
CA> | |
CA> ifstream ofstream
CA> | |
CA> +------+------+
CA> |
CA> iostream
CA> Is that right?
Not quite: iostream derives directly from istream and ostream. ifstream
and ofstream are separately derived from istream and ostream
respectively. Then fstream is derived from both of those.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|