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: Anonymous 2013-10-28 7:29

Also less useful because generally a and a->b won't have the same type. I guess it'd be nice for cdring down a linked list, like list ->= next;

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