How about &&= and ||= ?

John Collins jmc at ist.UUCP
Tue Dec 11 09:15:08 AEST 1984


I've often thought that it would make sense, given a structure like

struct foo {
   struct  foo  *f_next;
   int  bar;
   ...etc...
}

and a

register  struct  foo  *bar;

to allow something like

	bar ->= f_next

meaning the same as

	bar = bar->f_next
-- 
John Collins calling courtesy of ist



More information about the Comp.lang.c mailing list