File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 4563
4563
A translation may be performed
4564
4564
with one of the following \defnx {build levels}{build level}:
4565
4565
\term {off}, \term {default}, or \term {audit}.
4566
+ A translation with build level set to \term {off}
4567
+ performs no checking for any contract.
4566
4568
A translation with build level set to \term {default}
4567
4569
performs checking for \tcode {default} contracts.
4568
4570
A translation with build level set to \term {audit}
4577
4579
the build level of a translation unit.
4578
4580
4579
4581
\pnum
4580
- It is unspecified whether a contract
4581
- that would not be checked under the current build level is evaluated.
4582
- If it would evaluate to \tcode {false}, the behavior is undefined.
4583
4582
During constant expression evaluation\iref {expr.const },
4584
- contract evaluation is performed only for those contracts that are checked.
4583
+ only predicates of checked contracts are evaluated.
4584
+ In other contexts,
4585
+ it is unspecified whether the predicate for a contract
4586
+ that is not checked under the current build level is evaluated;
4587
+ if the predicate of such a contract
4588
+ would evaluate to \tcode {false}, the behavior is undefined.
4585
4589
4586
4590
\pnum
4587
4591
The \defn {violation handler} of a program is a function of type
You can’t perform that action at this time.
0 commit comments