next up previous
Next: S.1.15 Marchalling stategy Up: Scanner Bugs Previous: S.1.13 Generation of

S.1.14 Current method of calling asynchronous functions fails with defaulted argument

The current method of calling asynchronous functions (where an extra, defaulted, parameter is inserted), fails for operators per bug S.1.7.

In addition the method fails for function calls where there are default parameters, e.g:

class A {
//

   void f(int i = 4, int char* = 0)
};

   X -> f(@ @)

which is valid UC++ fails because translated as

class A {
//

   void f(int i = 4, int char* = 0, int ObjectMode = Synchronous)
};

   X -> f( Asynchronous)

which fails to match f() (or actually, worse, in this case actually succeeds in matching but is garbage).



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