As you may know C/C++ does not specified expression evaluation order. What are the reasons to left them undefined.
From stackoverflow
-
It allows compiler optimizations. One example would be the reordering of arithmetic instructions for the maximum usage of the ALUs or hiding memory latency with calculations.
0 comments:
Post a Comment