3 ms·
> Prior to C++17 such an evaluation order would have violated the standard Herb Sutter disagrees. [0] The C++ legalese you've quoted seems decisive, unfortunat
by MaxBarraclough 5y ago
> Prior to C++17 such an evaluation order would have violated the standard
Herb Sutter disagrees. [0] The C++ legalese you've quoted seems decisive, unfortunately Sutter's post doesn't mention it.
See also [1][2].
edit quietbritishjim beat me to it, and with a better informed comment to boot.
[0] https://herbsutter.com/2013/05/29/gotw-89-solution-smart-pointers/ https://herbsutter.com/2013/05/29/gotw-89-solution-smart-poi... (ctrl-f for known, and see also the comment thread at the bottom of the page)
[1] https://stackoverflow.com/a/48844115/ https://stackoverflow.com/a/48844115/
[2] https://stackoverflow.com/a/46472497/ https://stackoverflow.com/a/46472497/