Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!news.iastate.edu!pv031e.vincent.iastate.edu!clary From: clary@iastate.edu (Clary Jeffrey Scott) Newsgroups: comp.lang.c Subject: Re: missing ->= operator Message-ID: Date: 1 May 91 16:07:39 GMT References: <9104291641.AA00534@dutiaa.tudelft.nl> <1667@gufalet.let.rug.nl> Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames IA Lines: 23 In <1667@gufalet.let.rug.nl> eoo@let.rug.nl (Eize Oosting) writes: >In article <9104291641.AA00534@dutiaa.tudelft.nl> schuller@DUTIAA.TUDELFT.NL (Schuller Schuller Oijen) writes: [explanation of ->= operator deleted] >>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 >It sounds wonderfull, but it would ask for an Object Oriented style, and >C is just not OO. Maybe this would be something for C++. Please elaborate on why ptr ->= next is "object oriented" than x += 5 Thanks, Jeff [reasonable suggestion for NEXT(ptr) macro deleted] clary@iastate.edu