in reply to Re: Evaluation Order again.
in thread Evaluation Order again.
As usual, C++ keeps introducing features that are supposed to fix previous C++ features.
To be fair, C++ inherited the undefined execution order from C (from bcpl from B from ... ). It was the done thing to leave such implementation details "to the implementation"; and expect programmers to perceive all the situations where they might be bitten by that seemingly innocuous statement.
One of the driving forces behind this is one of the other goals of C++17; that of introducing implicit parallelisations. Another suggested benefit roundly poo hoo'd in that old thread.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Evaluation Order again.
by Anonymous Monk on May 28, 2016 at 01:31 UTC |