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 accb789 commit 52617b2Copy full SHA for 52617b2
source/containers.tex
@@ -8540,7 +8540,10 @@
8540
\effects
8541
For the first overload, all reserved blocks are deallocated, and
8542
\tcode{capacity()} is reduced accordingly.
8543
-For the second overload, \tcode{capacity()} is reduced to no less than \tcode{n}.
+For the second overload,
8544
+if \tcode{n >= capacity()} is \tcode{true},
8545
+there are no effects;
8546
+otherwise, \tcode{capacity()} is reduced to no less than \tcode{n}.
8547
8548
\pnum
8549
\complexity
0 commit comments