next up previous
Next: Constructors Up: Proposal for scanner output Previous: Proposal for scanner output

Class Declarations

All UC++ classes (that is, ones whose source is seen by the scanner) have fields inserted to store the virtual processor id of the object. There are two ways this information might be included:

* as private data

* by deriving all UC++ classes from a (virtual) root UC++ class which includes all the information.

QUESTION: Which is better and why? Seem to be arguments on both sides.



Jonathan Poole
Mon May 22 17:15:50 BST 1995