Skip to content

Commit 9d9a377

Browse files
authored
[associative.reqmts.general,unord.req.general] Fix cross-references to [container.alloc.reqmts] and [container.reqmts] (#7249)
Both paragraphs incorrectly point to [container.reqmts] instead of [container.alloc.reqmts] for "the requirements of an allocator-aware container".
1 parent f23059b commit 9d9a377

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/containers.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2726,12 +2726,12 @@
27262726
\pnum
27272727
A type \tcode{X} meets the \defnadj{associative}{container} requirements
27282728
if \tcode{X} meets all the requirements of an allocator-aware
2729-
container\iref{container.reqmts} and
2729+
container\iref{container.alloc.reqmts} and
27302730
the following types, statements, and expressions are well-formed and
27312731
have the specified semantics,
27322732
except that for
27332733
\tcode{map} and \tcode{multimap}, the requirements placed on \tcode{value_type}
2734-
in \ref{container.alloc.reqmts} apply instead to \tcode{key_type}
2734+
in \ref{container.reqmts} apply instead to \tcode{key_type}
27352735
and \tcode{mapped_type}.
27362736
\begin{note}
27372737
For example, in some cases \tcode{key_type} and \tcode{mapped_type}
@@ -4225,11 +4225,11 @@
42254225
A type \tcode{X} meets
42264226
the \defnadj{unordered associative}{container} requirements
42274227
if \tcode{X} meets all the requirements of
4228-
an allocator-aware container\iref{container.reqmts} and
4228+
an allocator-aware container\iref{container.alloc.reqmts} and
42294229
the following types, statements, and expressions are well-formed and
42304230
have the specified semantics,
42314231
except that for \tcode{unordered_map} and \tcode{unordered_multimap},
4232-
the requirements placed on \tcode{value_type} in \ref{container.alloc.reqmts}
4232+
the requirements placed on \tcode{value_type} in \ref{container.reqmts}
42334233
apply instead to \tcode{key_type} and \tcode{mapped_type}.
42344234
\begin{note}
42354235
For example, \tcode{key_type} and \tcode{mapped_type}

0 commit comments

Comments
 (0)