On Sunday, 15 March 2015 at 08:45:55 UTC, Jonathan M Davis wrote:
cost you anything, and you can't rely on the compiler's ability to optimize

If you want performance and can't rely on optimizations, you can only use assembler.

because the C++ standards committee didn't restrict the overloaded increment (or decrement) operators enough to enable the compiler to optimize them
properly.

Optimizer optimizes any code, it doesn't matter, what the code does.

Reply via email to