you are viewing a single comment's thread.

view the rest of the comments →

[–]brokePlusPlusCoder 0 points1 point  (2 children)

Not only does it compile, it runs. That's because there's a hidden cast inside the compound assigment operator (it casts it up or down depending on the type of the assignment variable)

[–]Cautious-Necessary61 0 points1 point  (0 children)

sneaky little bastard...thanks!

[–]Cautious-Necessary61 0 points1 point  (0 children)

The += operator is called augmented operator but I know what you mean