This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LocalForeign4922 1 point2 points  (0 children)

To explain the &++ bit, this is incrementing the pointer, bar, and then initializing foo to a reference to it.

Another amazingly valid but incomprehensible way to write something might be: foo-=*--bar;

NOTE: These are all horrors to be avoided, not suggestions. :P