Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uwm.edu!linac!att!ucbvax!DUTIAA.TUDELFT.NL!schuller From: schuller@DUTIAA.TUDELFT.NL (Schuller Schuller Oijen) Newsgroups: comp.lang.c Subject: missing ->= operator Message-ID: <9104291641.AA00534@dutiaa.tudelft.nl> Date: 29 Apr 91 16:41:40 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 13 Hi all, recently I've been doing a lot of C pointer programming and I came upon a missing feature in C. Suppose you have this struct called mygod : typedef struct mygod { int value; struct mygod *next; } mygod_struct What you do quite often is : mygodptr = mygodptr->next; Now C has all these wonderful operators : a += 7, g &= 0xf, etc, etc. But the ->= operator is missing! You cannot do mygodptr ->= next; ! All of you who want to fill this gap, please react. Flames to /dev/null. Bye! Hildo Biersma, schuller@dutiad.tudelft.nl