Yes, it'd be possible to make the compiler interpret
foo (int a);
as
int a; foo (&a);
What's harder is to simulate the way any argument to sscanf is passed by reference since that'd require strong typing for functions.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-04-16 16:19: Subject: Pointers/lvalues
Shouldn't that be possible for your reference args as well? If it's conveninent for sscanf, I don't see why it couldn't be convenient for other functions as well.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)