next up previous
Next: S.1.13 Generation of Up: Scanner Bugs Previous: S.1.11 Brackets in

S.1.12 Default constructor arguments


per GR 25.4.95

Given: class Foundary public: Foundary(Bridge*, int) ; ... ;

Foundary::Foundary(Bridge* b, int n) ...

The two extra constructor arguments added by the translator are given defaults in both the declaration and definition, which is an error.

[ObjectStatus ObjectStatusFlag_P = Passive, int _ucpp_Address = 0]

Jonathan Poole
Tue Jun 27 16:38:45 BST 1995