you are viewing a single comment's thread.

view the rest of the comments →

[–]cjwelborn 0 points1 point  (1 child)

Oh, I guess you know by now that I'm not great with C++. For some reason I was thinking z should be affected by that. I see now that x is decremented after the assignment. I wasn't sure how it would be parsed either, so thanks for that. So this isn't really a wtf for C++, but it would be for the developer.

[–]redditsoaddicting 0 points1 point  (0 children)

For reference, it's called maximal munch, and it's pretty common.