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 c58c811 commit 10a15fbCopy full SHA for 10a15fb
source/lib-intro.tex
@@ -317,7 +317,8 @@
317
\item
318
\expects
319
the conditions
320
-that the function assumes to hold whenever it is called.
+that the function assumes to hold whenever it is called;
321
+violation of any preconditions results in undefined behavior.
322
323
324
\effects
@@ -2687,12 +2688,6 @@
2687
2688
This applies even to objects such as mutexes intended for thread synchronization.
2689
\end{note}
2690
-\rSec3[res.on.expects]{Expects paragraph}
2691
-
2692
-\pnum
2693
-Violation of any preconditions specified in a function's \expects element
2694
-results in undefined behavior.
2695
2696
\rSec3[res.on.requirements]{Semantic requirements}
2697
2698
\pnum
0 commit comments