From 60261c7cf96b84da2bc08ce8905a370ae152ad9e Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Mon, 6 Oct 2025 07:28:58 +0200 Subject: [PATCH 1/2] [hive.capacity] Move restrictions from Complexity to Remarks --- source/containers.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index bff3deb8e2..7ab9b82144 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -8469,11 +8469,11 @@ \pnum \complexity -It does not change the size of the sequence and -takes at most linear time in the number of reserved blocks allocated. +Linear in the number of reserved blocks allocated. \pnum \remarks +The size of the sequence is not changed. All references, pointers, and iterators referring to elements in \tcode{*this}, as well as the past-the-end iterator, remain valid. \end{itemdescr} From c51f16d61c037df7a33907ab606ab51eec730086 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Mon, 6 Oct 2025 07:31:38 +0200 Subject: [PATCH 2/2] [vector.capacity] Move restrictions from Complexity to Remarks --- source/containers.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index 7ab9b82144..a83ac3d631 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -10173,11 +10173,11 @@ \pnum \complexity -It does not change the size of the sequence and takes at most linear -time in the size of the sequence. +Linear in the size of the sequence. \pnum \remarks +The size of the sequence is not changed. Reallocation invalidates all the references, pointers, and iterators referring to the elements in the sequence, as well as the past-the-end iterator. \begin{note}