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