Timeline for Reason for (post/pre) increment operator in Java or C#
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 24, 2014 at 21:40 | comment | added | Brian S | ^= is a reasonably common one. You can use it for flipping bitfield flags, swapping two integers without a temporary variable, and in some hash/cipher algorithms. I admit that I've never used >>>=, though. (Then again, I've never used >>> or <<< in any production program...) | |
| Mar 24, 2014 at 12:04 | history | answered | Landei | CC BY-SA 3.0 |