
Dec. 2, 2003
11:32 p.m.
Andrew Koenig <ark-mlist@att.net>
I think that int should be the base class, because I can imagine long supporting operations that int does not support, but not vice versa.
Perhaps 'int' should be an abstract class, with concrete subclasses 'long' and 'short'. And 'bool' would fit into this family as a sort of "extremely short int". Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+