The advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies:
The advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.