Skip to content

Commit c69a355

Browse files
authored
[range.access] Fix cross-references for 'array' (#5147)
Also introduce a label 'term.array.type' in [dcl.array].
1 parent f03473c commit c69a355

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

source/declarations.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3175,6 +3175,7 @@
31753175

31763176
\pnum
31773177
\indextext{declaration!array}%
3178+
\label{term.array.type}%
31783179
A type of the form ``array of \tcode{N} \tcode{U}'' or
31793180
``array of unknown bound of \tcode{U}'' is an \defn{array type}.
31803181
The optional \grammarterm{attribute-specifier-seq}

source/ranges.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
\tcode{ranges::begin(E)} is ill-formed.
466466

467467
\item
468-
Otherwise, if \tcode{T} is an array type\iref{basic.compound} and
468+
Otherwise, if \tcode{T} is an array type\iref{term.array.type} and
469469
\tcode{remove_all_extents_t<T>} is an incomplete type,
470470
\tcode{ranges::begin(E)} is ill-formed with no diagnostic required.
471471

@@ -531,7 +531,7 @@
531531
\tcode{ranges::end(E)} is ill-formed.
532532

533533
\item
534-
Otherwise, if \tcode{T} is an array type\iref{basic.compound} and
534+
Otherwise, if \tcode{T} is an array type\iref{term.array.type} and
535535
\tcode{remove_all_extents_t<T>} is an incomplete type,
536536
\tcode{ranges::end(E)} is ill-formed with no diagnostic required.
537537

@@ -644,7 +644,7 @@
644644
\tcode{ranges::rbegin(E)} is ill-formed.
645645

646646
\item
647-
Otherwise, if \tcode{T} is an array type\iref{basic.compound} and
647+
Otherwise, if \tcode{T} is an array type\iref{term.array.type} and
648648
\tcode{remove_all_extents_t<T>} is an incomplete type,
649649
\tcode{ranges::rbegin(E)} is ill-formed with no diagnostic required.
650650

@@ -713,7 +713,7 @@
713713
\tcode{ranges::rend(E)} is ill-formed.
714714

715715
\item
716-
Otherwise, if \tcode{T} is an array type\iref{basic.compound} and
716+
Otherwise, if \tcode{T} is an array type\iref{term.array.type} and
717717
\tcode{remove_all_extents_t<T>} is an incomplete type,
718718
\tcode{ranges::rend(E)} is ill-formed with no diagnostic required.
719719

@@ -821,7 +821,7 @@
821821

822822
\begin{itemize}
823823
\item
824-
If \tcode{T} is an array of unknown bound\iref{dcl.array},
824+
If \tcode{T} is an array of unknown bound\iref{term.array.type},
825825
\tcode{ranges::size(E)} is ill-formed.
826826

827827
\item
@@ -912,7 +912,7 @@
912912

913913
\begin{itemize}
914914
\item
915-
If \tcode{T} is an array of unknown bound\iref{basic.compound},
915+
If \tcode{T} is an array of unknown bound\iref{term.array.type},
916916
\tcode{ranges::empty(E)} is ill-formed.
917917

918918
\item
@@ -968,7 +968,7 @@
968968
\tcode{ranges::data(E)} is ill-formed.
969969

970970
\item
971-
Otherwise, if \tcode{T} is an array type\iref{basic.compound} and
971+
Otherwise, if \tcode{T} is an array type\iref{term.array.type} and
972972
\tcode{remove_all_extents_t<T>} is an incomplete type,
973973
\tcode{ranges::data(E)} is ill-formed with no diagnostic required.
974974

0 commit comments

Comments
 (0)