You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain other aspects and operations of the abstract machine are described in this International Standard as unspecified (for example, evaluation of expressions in a new-initializer if the allocation function fails to allocate memory ([expr.new])).
CWG 1583 changed the example to the current wording. Since it was previously updated by a core issue, I guess we shouldn't do it editorially this time. I've sent e-mail to the core reflector: http://lists.isocpp.org/core/2017/09/2930.php
It looks like it would be correct to revert to the previous example, since function argument evaluations are now indeterminately sequenced, which is a form of unspecified behavior ("either A is sequenced before B or B is sequenced before A, but it is unspecified which") :)
jensmaurer
changed the title
Wrong example of unspecified behavior in [intro.execution]/3
Wrong example of unspecified behavior in [intro.abstract]/3
Feb 17, 2018
The example is no longer correct after P0145.
The text was updated successfully, but these errors were encountered: