|
1809 | 1809 | }\\
|
1810 | 1810 | \end{oldconcepttable}
|
1811 | 1811 |
|
1812 |
| -\begin{oldconcepttable}{CopyConstructible}{ (in addition to \oldconcept{MoveConstructible})}{cpp17.copyconstructible} |
| 1812 | +\begin{oldconcepttable}{CopyConstructible}{ (in addition to \oldconceptref{MoveConstructible})}{cpp17.copyconstructible} |
1813 | 1813 | {p{1in}p{4.15in}}
|
1814 | 1814 | \topline
|
1815 | 1815 | \hdstyle{Expression} & \hdstyle{Post-condition} \\ \capsep
|
|
1836 | 1836 | }\\
|
1837 | 1837 | \end{oldconcepttable}
|
1838 | 1838 |
|
1839 |
| -\begin{oldconcepttable}{CopyAssignable}{ (in addition to \oldconcept{MoveAssignable})}{cpp17.copyassignable} |
| 1839 | +\begin{oldconcepttable}{CopyAssignable}{ (in addition to \oldconceptref{MoveAssignable})}{cpp17.copyassignable} |
1840 | 1840 | {p{1in}p{1in}p{1in}p{1.9in}}
|
1841 | 1841 | \topline
|
1842 | 1842 | \hdstyle{Expression} & \hdstyle{Return type} & \hdstyle{Return value} & \hdstyle{Post-condition} \\ \capsep
|
|
1850 | 1850 | \tcode{u.\~T()} & All resources owned by \tcode{u} are reclaimed, no exception is propagated. \\ \rowsep
|
1851 | 1851 | \multicolumn{2}{|l|}{
|
1852 | 1852 | \begin{tailnote}
|
1853 |
| - Array types and non-object types are not \oldconcept{Destructible}. |
| 1853 | + Array types and non-object types are not \oldconceptref{Destructible}. |
1854 | 1854 | \end{tailnote}
|
1855 | 1855 | } \\
|
1856 | 1856 | \end{oldconcepttable}
|
|
1929 | 1929 | // for rvalues and lvalues
|
1930 | 1930 | }
|
1931 | 1931 |
|
1932 |
| -// Preconditions: \tcode{T} meets the \oldconcept{Swappable} requirements. |
| 1932 | +// Preconditions: \tcode{T} meets the \oldconceptref{Swappable} requirements. |
1933 | 1933 | template<class T>
|
1934 | 1934 | void lv_swap(T& t1, T& t2) {
|
1935 | 1935 | using std::swap;
|
|
1966 | 1966 | A \oldconcept{NullablePointer} type is a pointer-like type that supports null values.
|
1967 | 1967 | A type \tcode{P} meets the \oldconcept{\-Nullable\-Pointer} requirements if
|
1968 | 1968 | \begin{itemize}
|
1969 |
| -\item \tcode{P} meets the \oldconcept{EqualityComparable}, |
1970 |
| -\oldconcept{DefaultConstructible}, \oldconcept{CopyConstructible}, \oldconcept{\-Copy\-Assign\-able}, |
1971 |
| -\oldconcept{Swappable}, and \oldconcept{Destructible} requirements, |
| 1969 | +\item \tcode{P} meets the \oldconceptref{EqualityComparable}, |
| 1970 | +\oldconceptref{DefaultConstructible}, \oldconceptref{CopyConstructible}, \oldconcept{\-Copy\-Assign\-able}, |
| 1971 | +\oldconceptref{Swappable}, and \oldconceptref{Destructible} requirements, |
1972 | 1972 |
|
1973 | 1973 | \item the expressions shown in \tref{cpp17.nullablepointer} are
|
1974 | 1974 | valid and have the indicated semantics, and
|
|
2044 | 2044 | A type \tcode{H} meets the \defnoldconcept{Hash} requirements if
|
2045 | 2045 | \begin{itemize}
|
2046 | 2046 | \item it is a function object type\iref{function.objects},
|
2047 |
| -\item it meets the \oldconcept{CopyConstructible} (\tref{cpp17.copyconstructible}) and |
2048 |
| - \oldconcept{Destructible} (\tref{cpp17.destructible}) requirements, and |
| 2047 | +\item it meets the \oldconceptref{CopyConstructible} (\tref{cpp17.copyconstructible}) and |
| 2048 | + \oldconceptref{Destructible} (\tref{cpp17.destructible}) requirements, and |
2049 | 2049 | \item the expressions shown in \tref{cpp17.hash}
|
2050 | 2050 | are valid and have the indicated semantics.
|
2051 | 2051 | \end{itemize}
|
|
2729 | 2729 | \tcode{true_type} only if an allocator of type \tcode{X} should be copied
|
2730 | 2730 | when the client container is copy-assigned;
|
2731 | 2731 | if so, \tcode{X} shall meet
|
2732 |
| -the \oldconcept{CopyAssignable} requirements (\tref{cpp17.copyassignable}) and |
| 2732 | +the \oldconceptref{CopyAssignable} requirements (\tref{cpp17.copyassignable}) and |
2733 | 2733 | the copy operation shall not throw exceptions.
|
2734 | 2734 |
|
2735 | 2735 | \pnum
|
|
2751 | 2751 | \tcode{true_type} only if an allocator of type \tcode{X} should be moved
|
2752 | 2752 | when the client container is move-assigned;
|
2753 | 2753 | if so, \tcode{X} shall meet
|
2754 |
| -the \oldconcept{MoveAssignable} requirements (\tref{cpp17.moveassignable}) and |
| 2754 | +the \oldconceptref{MoveAssignable} requirements (\tref{cpp17.moveassignable}) and |
2755 | 2755 | the move operation shall not throw exceptions.
|
2756 | 2756 |
|
2757 | 2757 | \pnum
|
|
2773 | 2773 | \tcode{true_type} only if an allocator of type \tcode{X} should be swapped
|
2774 | 2774 | when the client container is swapped;
|
2775 | 2775 | if so,
|
2776 |
| -\tcode{X} shall meet the \oldconcept{Swappable} requirements\iref{swappable.requirements} and |
| 2776 | +\tcode{X} shall meet the \oldconceptref{Swappable} requirements\iref{swappable.requirements} and |
2777 | 2777 | the \tcode{swap} operation shall not throw exceptions.
|
2778 | 2778 |
|
2779 | 2779 | \pnum
|
|
2803 | 2803 |
|
2804 | 2804 | \pnum
|
2805 | 2805 | An allocator type \tcode{X} shall meet the
|
2806 |
| -\oldconcept{CopyConstructible} requirements (\tref{cpp17.copyconstructible}). |
| 2806 | +\oldconceptref{CopyConstructible} requirements (\tref{cpp17.copyconstructible}). |
2807 | 2807 | The \tcode{XX::pointer}, \tcode{XX::const_pointer}, \tcode{XX::void_pointer}, and
|
2808 | 2808 | \tcode{XX::const_void_pointer} types shall meet the
|
2809 | 2809 | \oldconcept{Nullable\-Pointer} requirements (\tref{cpp17.nullablepointer}).
|
2810 | 2810 | No constructor,
|
2811 | 2811 | comparison operator function, copy operation, move operation, or swap operation on
|
2812 | 2812 | these pointer types shall exit via an exception. \tcode{XX::pointer} and \tcode{XX::const_pointer} shall also
|
2813 | 2813 | meet the requirements for
|
2814 |
| -a \oldconcept{RandomAccessIterator}\iref{random.access.iterators} and |
| 2814 | +a \oldconceptref{RandomAccessIterator}\iref{random.access.iterators} and |
2815 | 2815 | the additional requirement that, when \tcode{p} and \tcode{(p + n)} are
|
2816 | 2816 | dereferenceable pointer values for some integral value \tcode{n},
|
2817 | 2817 | \begin{codeblock}
|
|
0 commit comments