Skip to content

Commit 8e80bdf

Browse files
committed
P3923R0: Re NB US 145-234 (C++26 CD)
Fixes NB US 145-234 (C++26 CD).
1 parent d633eeb commit 8e80bdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/containers.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8540,7 +8540,10 @@
85408540
\effects
85418541
For the first overload, all reserved blocks are deallocated, and
85428542
\tcode{capacity()} is reduced accordingly.
8543-
For the second overload, \tcode{capacity()} is reduced to no less than \tcode{n}.
8543+
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}.
85448547

85458548
\pnum
85468549
\complexity

0 commit comments

Comments
 (0)