Skip to content

Commit 7769c11

Browse files
committed
P3923R0: Re NB US 140-233 (C++26 CD)
Fixes NB US 140-233 (C++26 CD).
1 parent 6807fe3 commit 7769c11

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

source/containers.tex

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7930,8 +7930,11 @@
79307930
that provides constant-time insertion and erasure operations.
79317931
Storage is automatically managed in multiple memory blocks,
79327932
referred to as \defnx{element blocks}{element block}.
7933-
Insertion position is determined by the container, and insertion
7933+
Insertion\iref{hive.modifiers} position is determined by the container, and insertion
79347934
may re-use the memory locations of erased elements.
7935+
\begin{note}
7936+
Construction and assignment are not considered to involve insertion operations.
7937+
\end{note}
79357938

79367939
\pnum
79377940
Element blocks which contain elements are referred to
@@ -8253,7 +8256,7 @@
82538256
\begin{itemdescr}
82548257
\pnum
82558258
\effects
8256-
Constructs a \tcode{hive} object with the elements of the range \tcode{rg},
8259+
Constructs a \tcode{hive} object equal to the range \tcode{rg},
82578260
using the specified allocator.
82588261
If the second overload is called,
82598262
also initializes \exposid{current-limits} with \tcode{block_limits}.
@@ -8276,7 +8279,7 @@
82768279

82778280
\pnum
82788281
\effects
8279-
Constructs a \tcode{hive} object with the elements of \tcode{x}.
8282+
Constructs a \tcode{hive} object equal to \tcode{x}.
82808283
If the second overload is called, uses \tcode{alloc}.
82818284
Initializes \exposid{current-limits} with \tcode{x.\exposid{current-limits}}.
82828285

@@ -8319,6 +8322,8 @@
83198322
\pnum
83208323
\ensures
83218324
\tcode{x.empty()} is \tcode{true}.
8325+
The relative order of the elements of \tcode{*this}
8326+
is the same as that of the elements of \tcode{x} prior to the call.
83228327

83238328
\pnum
83248329
\complexity
@@ -8340,7 +8345,7 @@
83408345

83418346
\pnum
83428347
\effects
8343-
Constructs a \tcode{hive} object with the elements of \tcode{il},
8348+
Constructs a \tcode{hive} object equal to \tcode{il},
83448349
using the specified allocator.
83458350
If the second overload is called,
83468351
also initializes \exposid{current-limits} with \tcode{block_limits}.
@@ -8364,7 +8369,8 @@
83648369
\pnum
83658370
\effects
83668371
All elements in \tcode{*this} are either copy-assigned to, or destroyed.
8367-
All elements in \tcode{x} are copied into \tcode{*this}.
8372+
All elements in \tcode{x} are copied into \tcode{*this},
8373+
maintaining their relative order.
83688374
\begin{note}
83698375
\exposid{current-limits} is unchanged.
83708376
\end{note}
@@ -8423,6 +8429,8 @@
84238429
\pnum
84248430
\ensures
84258431
\tcode{x.empty()} is \tcode{true}.
8432+
The relative order of the elements of \tcode{*this}
8433+
is the same as that of the elements of \tcode{x} prior to this call.
84268434

84278435
\pnum
84288436
\complexity

0 commit comments

Comments
 (0)