N4228: Refining Expression Evaluation Order for Idiomatic C++ -- G. Dos Reis, H. Sutter, J. Caves
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4228
Date: 2014-10-13
Refining Expression Evaluation Order for Idiomatic C++
by Gabriel Dos Reis, Herb Sutter, Jonathan Caves
Excerpt:
This paper proposes an order of evaluation of operands in expressions, directly supporting decades-old established and recommended C++ idioms. The result is the removal of embarrassing traps for novices and experts alike, increased confidence and safety of popular programming practices and facilities, hallmarks of modern C++.