|
7930 | 7930 | that provides constant-time insertion and erasure operations. |
7931 | 7931 | Storage is automatically managed in multiple memory blocks, |
7932 | 7932 | 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 |
7934 | 7934 | 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} |
7935 | 7938 |
|
7936 | 7939 | \pnum |
7937 | 7940 | Element blocks which contain elements are referred to |
|
8253 | 8256 | \begin{itemdescr} |
8254 | 8257 | \pnum |
8255 | 8258 | \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}, |
8257 | 8260 | using the specified allocator. |
8258 | 8261 | If the second overload is called, |
8259 | 8262 | also initializes \exposid{current-limits} with \tcode{block_limits}. |
|
8276 | 8279 |
|
8277 | 8280 | \pnum |
8278 | 8281 | \effects |
8279 | | -Constructs a \tcode{hive} object with the elements of \tcode{x}. |
| 8282 | +Constructs a \tcode{hive} object equal to \tcode{x}. |
8280 | 8283 | If the second overload is called, uses \tcode{alloc}. |
8281 | 8284 | Initializes \exposid{current-limits} with \tcode{x.\exposid{current-limits}}. |
8282 | 8285 |
|
|
8319 | 8322 | \pnum |
8320 | 8323 | \ensures |
8321 | 8324 | \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. |
8322 | 8327 |
|
8323 | 8328 | \pnum |
8324 | 8329 | \complexity |
|
8340 | 8345 |
|
8341 | 8346 | \pnum |
8342 | 8347 | \effects |
8343 | | -Constructs a \tcode{hive} object with the elements of \tcode{il}, |
| 8348 | +Constructs a \tcode{hive} object equal to \tcode{il}, |
8344 | 8349 | using the specified allocator. |
8345 | 8350 | If the second overload is called, |
8346 | 8351 | also initializes \exposid{current-limits} with \tcode{block_limits}. |
|
8364 | 8369 | \pnum |
8365 | 8370 | \effects |
8366 | 8371 | 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. |
8368 | 8374 | \begin{note} |
8369 | 8375 | \exposid{current-limits} is unchanged. |
8370 | 8376 | \end{note} |
|
8423 | 8429 | \pnum |
8424 | 8430 | \ensures |
8425 | 8431 | \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. |
8426 | 8434 |
|
8427 | 8435 | \pnum |
8428 | 8436 | \complexity |
|
0 commit comments