|
|
Niccolo (439) You have it right. Only in the cases of the "++" and "--" operators, returning by value (not a reference) and taking an int is the "signal" to the compiler that this is a postfix version. It works on no other operators, and you ignore the integer parameter. It's a hacked syntax, and no one really likes it, but that's what they came up with at the time. There is some convoluted logic to it, but not that seems justifying to the form you see - it is that alternatives were worse for various reasons (there's a book with that history in it, I read year ago, and happily forgotten). It is not really a binary operator. |