Skip to content

Commit 44f3ca5

Browse files
authored
Merge 2025-11 LWG Motion 17
P3878R1 Standard library hardening should not use the 'observe' semantic
2 parents 4be2de1 + a209c1b commit 44f3ca5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/lib-intro.tex

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,9 @@
390390
\item
391391
When invoking the function in a hardened implementation,
392392
prior to any other observable side effects of the function,
393-
one or more contract assertions
393+
contract assertions
394394
whose predicates are as described in the hardened precondition
395-
are evaluated with a checking semantic\iref{basic.contract.eval}.
396-
If any of these assertions is evaluated with a non-terminating semantic
397-
and the contract-violation handler returns,
398-
the program has undefined behavior.
395+
are evaluated with a terminating semantic\iref{basic.contract.eval}.
399396
\item
400397
When invoking the function in a non-hardened implementation,
401398
if any hardened precondition is violated,

0 commit comments

Comments
 (0)