The D Programming Language
Joe Dzikiewicz
joe at logi-dc.UUCP
Tue Mar 1 03:30:49 AEST 1988
Here's an operator I would like to see. It involves structure pointers...
struct a
{
struct a *a_ptr;
...
} *ptr_to_a;
...
ptr_to_a => a_ptr;
This would be equivalent to:
ptr_to_a = ptr_to_a->a_ptr;
This would not allow you to do anything you can't do anyway, but it
would reduce the needed keystrokes (and isn't that what 'C' is all
about anyway? :-).
Joe Dzikiewicz
joe at logi-dc
More information about the Comp.lang.c
mailing list