We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff4794 commit 776699aCopy full SHA for 776699a
source/lib-intro.tex
@@ -620,7 +620,8 @@
620
\item
621
\expects
622
the conditions
623
-that the function assumes to hold whenever it is called.
+that the function assumes to hold whenever it is called;
624
+violation of any preconditions results in undefined behavior.
625
626
627
\effects
@@ -2976,12 +2977,6 @@
2976
2977
This applies even to objects such as mutexes intended for thread synchronization.
2978
\end{note}
2979
-\rSec3[res.on.expects]{Expects paragraph}
2980
-
2981
-\pnum
2982
-Violation of any preconditions specified in a function's \expects element
2983
-results in undefined behavior.
2984
2985
\rSec3[res.on.requirements]{Semantic requirements}
2986
2987
\pnum
0 commit comments