Skip to content

Commit 4676f76

Browse files
jensmaurertkoeppe
authored andcommitted
[type.traits] Add references to tables
Fixes ISO/CS 001 (C++23 DIS).
1 parent 2d61829 commit 4676f76

File tree

1 file changed

+38
-9
lines changed

1 file changed

+38
-9
lines changed

source/meta.tex

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,8 @@
634634
\rSec3[meta.unary.cat]{Primary type categories}
635635

636636
\pnum
637-
The primary type categories correspond to the descriptions given in
637+
The primary type categories specified in \tref{meta.unary.cat}
638+
correspond to the descriptions given in
638639
subclause~\ref{basic.types} of the \Cpp{} standard.
639640

640641
\pnum
@@ -720,8 +721,9 @@
720721
\rSec3[meta.unary.comp]{Composite type traits}
721722

722723
\pnum
723-
These templates provide convenient compositions of the primary type
724-
categories, corresponding to the descriptions given in subclause~\ref{basic.types}.
724+
The templates specified in \tref{meta.unary.comp}
725+
provide convenient compositions of the primary type categories,
726+
corresponding to the descriptions given in subclause~\ref{basic.types}.
725727

726728
\pnum
727729
For any given type \tcode{T}, the result of applying one of these templates to
@@ -768,8 +770,8 @@
768770
\rSec3[meta.unary.prop]{Type properties}
769771

770772
\pnum
771-
These templates provide access to some of the more important
772-
properties of types.
773+
The templates specified in \tref{meta.unary.prop}
774+
provide access to some of the more important properties of types.
773775

774776
\pnum
775777
It is unspecified whether the library defines any full or partial
@@ -1361,8 +1363,8 @@
13611363
\rSec2[meta.unary.prop.query]{Type property queries}
13621364

13631365
\pnum
1364-
This subclause contains templates that may be used to query
1365-
properties of types at compile time.
1366+
The templates specified in \tref{meta.unary.prop.query}
1367+
may be used to query properties of types at compile time.
13661368

13671369
\begin{libreqtab2a}{Type property queries}{meta.unary.prop.query}
13681370
\\ \topline
@@ -1429,8 +1431,8 @@
14291431
\rSec2[meta.rel]{Relationships between types}
14301432

14311433
\pnum
1432-
This subclause contains templates that may be used to query
1433-
relationships between types at compile time.
1434+
The templates specified in \tref{meta.rel}
1435+
may be used to query relationships between types at compile time.
14341436

14351437
\pnum
14361438
Each of these templates shall be a
@@ -1617,6 +1619,10 @@
16171619

16181620
\rSec3[meta.trans.cv]{Const-volatile modifications}
16191621

1622+
\pnum
1623+
The templates specified in \tref{meta.trans.cv}
1624+
add or remove cv-qualifications\iref{basic.type.qualifier}.
1625+
16201626
\begin{libreqtab2a}{Const-volatile modifications}{meta.trans.cv}
16211627
\\ \topline
16221628
\lhdr{Template} & \rhdr{Comments} \\ \capsep
@@ -1685,6 +1691,10 @@
16851691

16861692
\rSec3[meta.trans.ref]{Reference modifications}
16871693

1694+
\pnum
1695+
The templates specified in \tref{meta.trans.ref}
1696+
add or remove references.
1697+
16881698
\begin{libreqtab2a}{Reference modifications}{meta.trans.ref}
16891699
\\ \topline
16901700
\lhdr{Template} & \rhdr{Comments} \\ \capsep
@@ -1727,6 +1737,11 @@
17271737
\end{libreqtab2a}
17281738

17291739
\rSec3[meta.trans.sign]{Sign modifications}
1740+
1741+
\pnum
1742+
The templates specified in \tref{meta.trans.sign}
1743+
convert an integer type to its corresponding signed or unsigned type.
1744+
17301745
\begin{libreqtab2a}{Sign modifications}{meta.trans.sign}
17311746
\\ \topline
17321747
\lhdr{Template} & \rhdr{Comments} \\ \capsep
@@ -1770,6 +1785,11 @@
17701785
\end{libreqtab2a}
17711786

17721787
\rSec3[meta.trans.arr]{Array modifications}
1788+
1789+
\pnum
1790+
The templates specified in \tref{meta.trans.arr}
1791+
modify array types.
1792+
17731793
\begin{libreqtab2a}{Array modifications}{meta.trans.arr}
17741794
\\ \topline
17751795
\lhdr{Template} & \rhdr{Comments} \\ \capsep
@@ -1822,6 +1842,11 @@
18221842
\end{example}
18231843

18241844
\rSec3[meta.trans.ptr]{Pointer modifications}
1845+
1846+
\pnum
1847+
The templates specified in \tref{meta.trans.ptr}
1848+
add or remove pointers.
1849+
18251850
\begin{libreqtab2a}{Pointer modifications}{meta.trans.ptr}
18261851
\\ \topline
18271852
\lhdr{Template} & \rhdr{Comments} \\ \capsep
@@ -1850,6 +1875,10 @@
18501875

18511876
\rSec3[meta.trans.other]{Other transformations}
18521877

1878+
\pnum
1879+
The templates specified in \tref{meta.trans.other}
1880+
perform other modifications of a type.
1881+
18531882
\begin{libreqtab2a}{Other transformations}{meta.trans.other}
18541883
\\ \topline
18551884
\lhdr{Template} & \rhdr{Comments} \\ \capsep

0 commit comments

Comments
 (0)