|
1209 | 1209 | \pnum
|
1210 | 1210 | The \Cpp{} standard library provides the
|
1211 | 1211 | \defnx{\Cpp{} library headers}{header!C++ library},
|
1212 |
| -shown in \tref{cpp.library.headers}. |
| 1212 | +shown in \tref{headers.cpp}. |
1213 | 1213 |
|
1214 |
| -\begin{multicolfloattable}{\Cpp{} library headers}{cpp.library.headers} |
| 1214 | +\begin{multicolfloattable}{\Cpp{} library headers}{headers.cpp} |
1215 | 1215 | {llll}
|
1216 | 1216 | \tcode{<algorithm>} \\
|
1217 | 1217 | \tcode{<any>} \\
|
|
1291 | 1291 | \pnum
|
1292 | 1292 | The facilities of the C standard library are provided in the
|
1293 | 1293 | \indextext{library!C standard}%
|
1294 |
| -additional headers shown in \tref{cpp.c.headers}.% |
| 1294 | +additional headers shown in \tref{headers.cpp.c}.% |
1295 | 1295 | \footnote{It is intentional that there is no \Cpp{} header
|
1296 | 1296 | for any of these C headers:
|
1297 | 1297 | \tcode{<stdatomic.h>}\indextext{\idxhdr{stdatomic.h}!absence thereof},
|
1298 | 1298 | \tcode{<stdnoreturn.h>}\indextext{\idxhdr{stdnoreturn.h}!absence thereof},
|
1299 | 1299 | \tcode{<threads.h>}\indextext{\idxhdr{threads.h}!absence thereof}.}
|
1300 | 1300 |
|
1301 |
| -\begin{multicolfloattable}{\Cpp{} headers for C library facilities}{cpp.c.headers} |
| 1301 | +\begin{multicolfloattable}{\Cpp{} headers for C library facilities}{headers.cpp.c} |
1302 | 1302 | {lllllll}
|
1303 | 1303 | \tcode{<cassert>} \\
|
1304 | 1304 | \tcode{<cctype>} \\
|
|
1488 | 1488 | \pnum
|
1489 | 1489 | A freestanding implementation\indextext{implementation!freestanding} has an
|
1490 | 1490 | \impldef{headers for freestanding implementation} set of headers. This set shall
|
1491 |
| -include at least the headers shown in \tref{cpp.headers.freestanding}. |
| 1491 | +include at least the headers shown in \tref{headers.cpp.fs}. |
1492 | 1492 |
|
1493 |
| -\begin{libsumtab}{\Cpp{} headers for freestanding implementations}{cpp.headers.freestanding} |
| 1493 | +\begin{libsumtab}{\Cpp{} headers for freestanding implementations}{headers.cpp.fs} |
1494 | 1494 | \ref{support.types} & Types & \tcode{<cstddef>} \\ \rowsep
|
1495 | 1495 | \ref{support.limits} & Implementation properties & \tcode{<cfloat>} \tcode{<limits>} \tcode{<climits>} \tcode{<version>} \\ \rowsep
|
1496 | 1496 | \ref{cstdint} & Integer types & \tcode{<cstdint>} \\ \rowsep
|
|
1975 | 1975 | \pnum
|
1976 | 1976 | The class template \tcode{allocator_traits}\iref{allocator.traits} supplies
|
1977 | 1977 | a uniform interface to all allocator types.
|
1978 |
| -\tref{desc.var.def} describes the types manipulated |
1979 |
| -through allocators. \tref{utilities.allocator.requirements} |
| 1978 | +\tref{allocator.req.var} describes the types manipulated |
| 1979 | +through allocators. \tref{allocator.req} |
1980 | 1980 | describes the requirements on allocator types
|
1981 | 1981 | and thus on types used to instantiate \tcode{allocator_traits}. A requirement
|
1982 | 1982 | is optional if the last column of
|
1983 |
| -\tref{utilities.allocator.requirements} specifies a default for a |
| 1983 | +\tref{allocator.req} specifies a default for a |
1984 | 1984 | given expression. Within the standard library \tcode{allocator_traits}
|
1985 | 1985 | template, an optional requirement that is not supplied by an allocator is
|
1986 | 1986 | replaced by the specified default expression. A user specialization of
|
1987 | 1987 | \tcode{allocator_traits} may provide different defaults and may provide
|
1988 | 1988 | defaults for different requirements than the primary template. Within
|
1989 |
| -Tables~\ref{tab:desc.var.def} and~\ref{tab:utilities.allocator.requirements}, |
| 1989 | +Tables~\ref{tab:allocator.req.var} and~\ref{tab:allocator.req}, |
1990 | 1990 | the use of \tcode{move} and \tcode{forward} always refers to \tcode{std::move}
|
1991 | 1991 | and \tcode{std::forward}, respectively.
|
1992 | 1992 |
|
1993 | 1993 | \begin{libreqtab2}
|
1994 | 1994 | {Descriptive variable definitions}
|
1995 |
| -{desc.var.def} |
| 1995 | +{allocator.req.var} |
1996 | 1996 | \\ \topline
|
1997 | 1997 | \lhdr{Variable} & \rhdr{Definition} \\ \capsep
|
1998 | 1998 | \endfirsthead
|
|
2029 | 2029 |
|
2030 | 2030 | \begin{libreqtab4d}
|
2031 | 2031 | {\oldconcept{Allocator} requirements}
|
2032 |
| -{utilities.allocator.requirements} |
| 2032 | +{allocator.req} |
2033 | 2033 | \\ \topline
|
2034 | 2034 | \lhdr{Expression} & \chdr{Return type} & \chdr{Assertion/note} & \rhdr{Default} \\
|
2035 | 2035 | & & \chdr{pre-/post-condition} & \\ \capsep
|
|
2321 | 2321 | \pnum
|
2322 | 2322 | \begin{example} The following is an allocator class template supporting the minimal
|
2323 | 2323 | interface that satisfies the requirements of
|
2324 |
| -\tref{utilities.allocator.requirements}: |
| 2324 | +\tref{allocator.req}: |
2325 | 2325 |
|
2326 | 2326 | \begin{codeblock}
|
2327 | 2327 | template<class Tp>
|
|
0 commit comments