From a5e8acf631aed8b1e7d797c3c23c049b66e3e49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Mon, 21 Feb 2022 14:49:31 -0400 Subject: [PATCH 1/2] [array.overview] Don't mention swap as an exception The container requirements already describe this behavior, so from the POV of this subclause, there's no exception. --- source/containers.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index f9ab3e8128..349b6e5d62 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -6123,8 +6123,8 @@ of a container\iref{container.reqmts} and of a reversible container\iref{container.rev.reqmts}, except that a default -constructed \tcode{array} object is not empty and that \tcode{swap} does not have constant -complexity. An \tcode{array} meets some of the requirements of a sequence +constructed \tcode{array} object is not empty. +An \tcode{array} meets some of the requirements of a sequence container\iref{sequence.reqmts}. Descriptions are provided here only for operations on \tcode{array} that are not described in From 5f5edd77381aa600a23b926d97613aa442e5f945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Mon, 21 Feb 2022 14:52:15 -0400 Subject: [PATCH 2/2] [array.overview] Mention condition of exception --- source/containers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/containers.tex b/source/containers.tex index 349b6e5d62..06f13ccf1e 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -6123,7 +6123,7 @@ of a container\iref{container.reqmts} and of a reversible container\iref{container.rev.reqmts}, except that a default -constructed \tcode{array} object is not empty. +constructed \tcode{array} object is not empty if $\tcode{N} > 0$. An \tcode{array} meets some of the requirements of a sequence container\iref{sequence.reqmts}. Descriptions are provided here