missing ->= operator

Clary Jeffrey Scott clary at iastate.edu
Thu May 2 02:07:39 AEST 1991


In <1667 at gufalet.let.rug.nl> eoo at let.rug.nl (Eize Oosting) writes:

>In article <9104291641.AA00534 at dutiaa.tudelft.nl> schuller at 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 at 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 at iastate.edu



More information about the Comp.lang.c mailing list