Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Compound Dereference Operators

Name: Anonymous 2013-10-27 22:33

Anyone else thought they should've included these in the C/C++ standard? I mean, we already have += -= >>= and all the rest...


a .= b /* a = a.b */
a ->= b /* a = a->b */

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-10-28 7:53

>>3
For linked lists, trees, and other linky structures, it's very useful. Wouldn't be hard to add to the parser either. I'm surprised GCC doesn't have them already.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List