Skip to content

Commit e023fd1

Browse files
jensmaurertkoeppe
authored andcommitted
Use \tref for table references
1 parent dbeb68f commit e023fd1

22 files changed

+254
-254
lines changed

source/algorithms.tex

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
mutating sequence operations,
1414
sorting and related operations,
1515
and algorithms from the ISO C library,
16-
as summarized in Table~\ref{tab:algorithms.summary}.
16+
as summarized in \tref{algorithms.summary}.
1717

1818
\begin{libsumtab}{Algorithms library summary}{tab:algorithms.summary}
1919
\ref{alg.nonmodifying} & Non-modifying sequence operations & \\
@@ -1628,9 +1628,9 @@
16281628
\begin{itemdescr}
16291629
\pnum
16301630
\requires \tcode{Function} shall satisfy the requirements of
1631-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}).
1631+
\tcode{MoveConstructible} (\tref{moveconstructible}).
16321632
\begin{note} \tcode{Function} need not meet the requirements of
1633-
\tcode{CopyConstructible} (Table~\ref{tab:copyconstructible}). \end{note}
1633+
\tcode{CopyConstructible} (\tref{copyconstructible}). \end{note}
16341634

16351635
\pnum
16361636
\effects
@@ -2476,7 +2476,7 @@
24762476
\begin{note}
24772477
For the overload with an \tcode{ExecutionPolicy}, there may be a performance
24782478
cost if \tcode{iterator_traits<ForwardIterator1>::value_type} is not
2479-
\tcode{Move\-Constructible} (Table~\ref{tab:moveconstructible}).
2479+
\tcode{Move\-Constructible} (\tref{moveconstructible}).
24802480
\end{note}
24812481

24822482
\pnum
@@ -3019,7 +3019,7 @@
30193019
The type of
30203020
\tcode{*first}
30213021
shall satisfy the \tcode{MoveAssignable}
3022-
requirements (Table~\ref{tab:moveassignable}).
3022+
requirements (\tref{moveassignable}).
30233023

30243024
\pnum
30253025
\effects
@@ -3088,7 +3088,7 @@
30883088
\begin{note}
30893089
For the overloads with an \tcode{ExecutionPolicy}, there may be a performance
30903090
cost if \tcode{iterator_traits<ForwardIterator1>::value_type} is not
3091-
\tcode{Move\-Constructible} (Table~\ref{tab:moveconstructible}).
3091+
\tcode{Move\-Constructible} (\tref{moveconstructible}).
30923092
\end{note}
30933093

30943094
\pnum
@@ -3138,7 +3138,7 @@
31383138
\requires
31393139
The comparison function shall be an equivalence relation.
31403140
The type of \tcode{*first} shall satisfy the
3141-
\tcode{MoveAssignable} requirements (Table~\ref{tab:moveassignable}).
3141+
\tcode{MoveAssignable} requirements (\tref{moveassignable}).
31423142

31433143
\pnum
31443144
\effects
@@ -3215,9 +3215,9 @@
32153215
then there are no additional requirements for \tcode{T}.
32163216
Otherwise, if \tcode{OutputIterator} meets the forward iterator
32173217
requirements and its value type is the same as \tcode{T},
3218-
then \tcode{T} shall be \tcode{CopyAssignable} (Table~\ref{tab:copyassignable}).
3218+
then \tcode{T} shall be \tcode{CopyAssignable} (\tref{copyassignable}).
32193219
Otherwise, \tcode{T} shall be both
3220-
\tcode{CopyConstructible} (Table~\ref{tab:copyconstructible}) and \tcode{CopyAssignable}.
3220+
\tcode{CopyConstructible} (\tref{copyconstructible}) and \tcode{CopyAssignable}.
32213221
\begin{note}
32223222
For the overloads with an \tcode{ExecutionPolicy}, there may be a performance
32233223
cost if the value type of \tcode{ForwardIterator1} is not both
@@ -3349,10 +3349,10 @@
33493349
\tcode{ForwardIterator} shall satisfy the requirements of
33503350
\tcode{ValueSwappable}\iref{swappable.requirements}. The type of \tcode{*first} shall satisfy
33513351
the requirements of \tcode{MoveConstructible}
3352-
(Table~\ref{tab:moveconstructible}) and the
3352+
(\tref{moveconstructible}) and the
33533353
requirements of
33543354
\tcode{MoveAssignable}
3355-
(Table~\ref{tab:moveassignable}).
3355+
(\tref{moveassignable}).
33563356

33573357
\pnum
33583358
\effects
@@ -3679,8 +3679,8 @@
36793679
\tcode{RandomAccessIterator} shall satisfy the requirements of
36803680
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
36813681
of \tcode{*first} shall satisfy the requirements of
3682-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
3683-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
3682+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
3683+
\tcode{MoveAssignable} (\tref{moveassignable}).
36843684

36853685
\pnum
36863686
\effects
@@ -3717,8 +3717,8 @@
37173717
\tcode{RandomAccessIterator} shall satisfy the requirements of
37183718
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
37193719
of \tcode{*first} shall satisfy the requirements of
3720-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
3721-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
3720+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
3721+
\tcode{MoveAssignable} (\tref{moveassignable}).
37223722

37233723
\pnum
37243724
\effects
@@ -3768,8 +3768,8 @@
37683768
\tcode{RandomAccessIterator} shall satisfy the requirements of
37693769
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
37703770
of \tcode{*first} shall satisfy the requirements of
3771-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
3772-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
3771+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
3772+
\tcode{MoveAssignable} (\tref{moveassignable}).
37733773

37743774
\pnum
37753775
\effects
@@ -3830,8 +3830,8 @@
38303830
\tcode{RandomAccessIterator} shall satisfy the requirements of
38313831
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
38323832
of \tcode{*result_first} shall satisfy the requirements of
3833-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
3834-
\tcode{Move\-Assignable} (Table~\ref{tab:moveassignable}).
3833+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
3834+
\tcode{Move\-Assignable} (\tref{moveassignable}).
38353835

38363836
\pnum
38373837
\effects
@@ -3969,8 +3969,8 @@
39693969
\tcode{RandomAccessIterator} shall satisfy the requirements of
39703970
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
39713971
of \tcode{*first} shall satisfy the requirements of
3972-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
3973-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
3972+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
3973+
\tcode{MoveAssignable} (\tref{moveassignable}).
39743974

39753975
\pnum
39763976
\effects
@@ -4318,8 +4318,8 @@
43184318
\tcode{BidirectionalIterator} shall satisfy the requirements of
43194319
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
43204320
of \tcode{*first} shall satisfy the requirements of
4321-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
4322-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
4321+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
4322+
\tcode{MoveAssignable} (\tref{moveassignable}).
43234323

43244324
\pnum
43254325
\effects
@@ -4378,7 +4378,7 @@
43784378
\begin{itemize}
43794379
\item
43804380
For the overload with no \tcode{ExecutionPolicy}, \tcode{InputIterator}'s
4381-
value type shall be \tcode{CopyAssignable} (Table~\ref{tab:copyassignable}),
4381+
value type shall be \tcode{CopyAssignable} (\tref{copyassignable}),
43824382
and shall be writable\iref{iterator.requirements.general} to the \tcode{out_true}
43834383
and \tcode{out_false} \tcode{OutputIterator}s, and shall be convertible to
43844384
\tcode{Predicate}'s argument type.
@@ -4519,8 +4519,8 @@
45194519
\tcode{BidirectionalIterator} shall satisfy the requirements of
45204520
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
45214521
of \tcode{*first} shall satisfy the requirements of
4522-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
4523-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
4522+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
4523+
\tcode{MoveAssignable} (\tref{moveassignable}).
45244524

45254525
\pnum
45264526
\effects
@@ -4932,9 +4932,9 @@
49324932
shall be a valid heap.
49334933
The type of \tcode{*first} shall satisfy
49344934
the \tcode{MoveConstructible} requirements
4935-
(Table~\ref{tab:moveconstructible}) and the
4935+
(\tref{moveconstructible}) and the
49364936
\tcode{MoveAssignable} requirements
4937-
(Table~\ref{tab:moveassignable}).
4937+
(\tref{moveassignable}).
49384938

49394939
\pnum
49404940
\effects
@@ -4971,8 +4971,8 @@
49714971
\tcode{RandomAccessIterator} shall satisfy the requirements of
49724972
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
49734973
of \tcode{*first} shall satisfy the requirements of
4974-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
4975-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
4974+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
4975+
\tcode{MoveAssignable} (\tref{moveassignable}).
49764976

49774977

49784978
\pnum
@@ -5007,9 +5007,9 @@
50075007
\pnum
50085008
\requires The type of \tcode{*first} shall satisfy
50095009
the \tcode{MoveConstructible} requirements
5010-
(Table~\ref{tab:moveconstructible}) and the
5010+
(\tref{moveconstructible}) and the
50115011
\tcode{MoveAssignable} requirements
5012-
(Table~\ref{tab:moveassignable}).
5012+
(\tref{moveassignable}).
50135013

50145014
\pnum
50155015
\effects
@@ -5041,8 +5041,8 @@
50415041
\tcode{RandomAccessIterator} shall satisfy the requirements of
50425042
\tcode{ValueSwappable}\iref{swappable.requirements}. The type
50435043
of \tcode{*first} shall satisfy the requirements of
5044-
\tcode{MoveConstructible} (Table~\ref{tab:moveconstructible}) and of
5045-
\tcode{MoveAssignable} (Table~\ref{tab:moveassignable}).
5044+
\tcode{MoveConstructible} (\tref{moveconstructible}) and of
5045+
\tcode{MoveAssignable} (\tref{moveassignable}).
50465046

50475047
\pnum
50485048
\effects
@@ -5160,7 +5160,7 @@
51605160
\pnum
51615161
\requires
51625162
For the first form, type \tcode{T} shall be
5163-
\tcode{LessThanComparable} (Table~\ref{tab:lessthancomparable}).
5163+
\tcode{LessThanComparable} (\tref{lessthancomparable}).
51645164

51655165
\pnum
51665166
\returns
@@ -5210,7 +5210,7 @@
52105210
\pnum
52115211
\requires
52125212
For the first form, type \tcode{T} shall be
5213-
\tcode{LessThanComparable} (Table~\ref{tab:lessthancomparable}).
5213+
\tcode{LessThanComparable} (\tref{lessthancomparable}).
52145214

52155215
\pnum
52165216
\returns
@@ -5261,7 +5261,7 @@
52615261
\pnum
52625262
\requires
52635263
For the first form, type \tcode{T} shall be
5264-
\tcode{LessThanComparable} (Table~\ref{tab:lessthancomparable}).
5264+
\tcode{LessThanComparable} (\tref{lessthancomparable}).
52655265

52665266
\pnum
52675267
\returns
@@ -5445,7 +5445,7 @@
54455445
\requires
54465446
The value of \tcode{lo} shall be no greater than \tcode{hi}.
54475447
For the first form, type \tcode{T}
5448-
shall be \tcode{LessThan\-Comparable} (Table~\ref{tab:lessthancomparable}).
5448+
shall be \tcode{LessThan\-Comparable} (\tref{lessthancomparable}).
54495449

54505450
\pnum
54515451
\returns

source/atomics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@
12151215
\pnum
12161216
The following operations perform arithmetic addition and subtraction computations.
12171217
The key, operator, and computation correspondence are identified in
1218-
Table~\ref{tab:atomic.arithmetic.computations}.
1218+
\tref{atomic.arithmetic.computations}.
12191219

12201220
\indexlibrary{\idxcode{atomic_fetch_add}}%
12211221
\indexlibrary{\idxcode{atomic_fetch_sub}}%

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4236,7 +4236,7 @@
42364236
\pnum
42374237
There is a partial ordering on cv-qualifiers, so that a type can be
42384238
said to be \defn{more cv-qualified} than another.
4239-
Table~\ref{tab:relations.on.const.and.volatile} shows the relations that
4239+
\tref{relations.on.const.and.volatile} shows the relations that
42404240
constitute this ordering.
42414241

42424242
\begin{floattable}{Relations on \tcode{const} and \tcode{volatile}}{tab:relations.on.const.and.volatile}

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@
901901
\change New keywords.
902902
\rationale Required for new features.
903903
\effect
904-
Added to Table~\ref{tab:keywords}, the following identifiers are new keywords:
904+
Added to \tref{keywords}, the following identifiers are new keywords:
905905
\tcode{alignas},
906906
\tcode{alignof},
907907
\tcode{char16_t},

0 commit comments

Comments
 (0)