|
1868 | 1868 | }\\ |
1869 | 1869 | \end{oldconcepttable} |
1870 | 1870 |
|
1871 | | -\begin{oldconcepttable}{CopyConstructible}{ (in addition to \oldconcept{MoveConstructible})}{cpp17.copyconstructible} |
| 1871 | +\begin{oldconcepttable}{CopyConstructible}{ (in addition to \oldconceptref{MoveConstructible})}{cpp17.copyconstructible} |
1872 | 1872 | {p{1in}p{4.15in}} |
1873 | 1873 | \topline |
1874 | 1874 | \hdstyle{Expression} & \hdstyle{Post-condition} \\ \capsep |
|
1895 | 1895 | }\\ |
1896 | 1896 | \end{oldconcepttable} |
1897 | 1897 |
|
1898 | | -\begin{oldconcepttable}{CopyAssignable}{ (in addition to \oldconcept{MoveAssignable})}{cpp17.copyassignable} |
| 1898 | +\begin{oldconcepttable}{CopyAssignable}{ (in addition to \oldconceptref{MoveAssignable})}{cpp17.copyassignable} |
1899 | 1899 | {p{1in}p{1in}p{1in}p{1.9in}} |
1900 | 1900 | \topline |
1901 | 1901 | \hdstyle{Expression} & \hdstyle{Return type} & \hdstyle{Return value} & \hdstyle{Post-condition} \\ \capsep |
|
1909 | 1909 | \tcode{a.\~T()} & No exception is propagated. \\ \rowsep |
1910 | 1910 | \multicolumn{2}{|l|}{ |
1911 | 1911 | \begin{tailnote} |
1912 | | - Array types and non-object types are not \oldconcept{Destructible}. |
| 1912 | + Array types and non-object types are not \oldconceptref{Destructible}. |
1913 | 1913 | \end{tailnote} |
1914 | 1914 | } \\ |
1915 | 1915 | \end{oldconcepttable} |
|
1988 | 1988 | // for rvalues and lvalues |
1989 | 1989 | } |
1990 | 1990 |
|
1991 | | -// Preconditions: \tcode{T} meets the \oldconcept{Swappable} requirements. |
| 1991 | +// Preconditions: \tcode{T} meets the \oldconceptref{Swappable} requirements. |
1992 | 1992 | template<class T> |
1993 | 1993 | void lv_swap(T& t1, T& t2) { |
1994 | 1994 | using std::swap; |
|
2025 | 2025 | A \oldconcept{NullablePointer} type is a pointer-like type that supports null values. |
2026 | 2026 | A type \tcode{P} meets the \oldconcept{\-Nullable\-Pointer} requirements if |
2027 | 2027 | \begin{itemize} |
2028 | | -\item \tcode{P} meets the \oldconcept{EqualityComparable}, |
2029 | | -\oldconcept{DefaultConstructible}, \oldconcept{CopyConstructible}, \oldconcept{\-Copy\-Assign\-able}, |
2030 | | -\oldconcept{Swappable}, and \oldconcept{Destructible} requirements, |
| 2028 | +\item \tcode{P} meets the \oldconceptref{EqualityComparable}, |
| 2029 | +\oldconceptref{DefaultConstructible}, \oldconceptref{CopyConstructible}, \oldconcept{\-Copy\-Assign\-able}, |
| 2030 | +\oldconceptref{Swappable}, and \oldconceptref{Destructible} requirements, |
2031 | 2031 |
|
2032 | 2032 | \item the expressions shown in \tref{cpp17.nullablepointer} are |
2033 | 2033 | valid and have the indicated semantics, and |
|
2103 | 2103 | A type \tcode{H} meets the \defnoldconcept{Hash} requirements if |
2104 | 2104 | \begin{itemize} |
2105 | 2105 | \item it is a function object type\iref{function.objects}, |
2106 | | -\item it meets the \oldconcept{CopyConstructible} (\tref{cpp17.copyconstructible}) and |
2107 | | - \oldconcept{Destructible} (\tref{cpp17.destructible}) requirements, and |
| 2106 | +\item it meets the \oldconceptref{CopyConstructible} (\tref{cpp17.copyconstructible}) and |
| 2107 | + \oldconceptref{Destructible} (\tref{cpp17.destructible}) requirements, and |
2108 | 2108 | \item the expressions shown in \tref{cpp17.hash} |
2109 | 2109 | are valid and have the indicated semantics. |
2110 | 2110 | \end{itemize} |
|
2788 | 2788 | \tcode{true_type} only if an allocator of type \tcode{X} should be copied |
2789 | 2789 | when the client container is copy-assigned; |
2790 | 2790 | if so, \tcode{X} shall meet |
2791 | | -the \oldconcept{CopyAssignable} requirements (\tref{cpp17.copyassignable}) and |
| 2791 | +the \oldconceptref{CopyAssignable} requirements (\tref{cpp17.copyassignable}) and |
2792 | 2792 | the copy operation shall not throw exceptions. |
2793 | 2793 |
|
2794 | 2794 | \pnum |
|
2810 | 2810 | \tcode{true_type} only if an allocator of type \tcode{X} should be moved |
2811 | 2811 | when the client container is move-assigned; |
2812 | 2812 | if so, \tcode{X} shall meet |
2813 | | -the \oldconcept{MoveAssignable} requirements (\tref{cpp17.moveassignable}) and |
| 2813 | +the \oldconceptref{MoveAssignable} requirements (\tref{cpp17.moveassignable}) and |
2814 | 2814 | the move operation shall not throw exceptions. |
2815 | 2815 |
|
2816 | 2816 | \pnum |
|
2832 | 2832 | \tcode{true_type} only if an allocator of type \tcode{X} should be swapped |
2833 | 2833 | when the client container is swapped; |
2834 | 2834 | if so, |
2835 | | -\tcode{X} shall meet the \oldconcept{Swappable} requirements\iref{swappable.requirements} and |
| 2835 | +\tcode{X} shall meet the \oldconceptref{Swappable} requirements\iref{swappable.requirements} and |
2836 | 2836 | the \tcode{swap} operation shall not throw exceptions. |
2837 | 2837 |
|
2838 | 2838 | \pnum |
|
2862 | 2862 |
|
2863 | 2863 | \pnum |
2864 | 2864 | An allocator type \tcode{X} shall meet the |
2865 | | -\oldconcept{CopyConstructible} requirements (\tref{cpp17.copyconstructible}). |
| 2865 | +\oldconceptref{CopyConstructible} requirements (\tref{cpp17.copyconstructible}). |
2866 | 2866 | The \tcode{XX::pointer}, \tcode{XX::const_pointer}, \tcode{XX::void_pointer}, and |
2867 | 2867 | \tcode{XX::const_void_pointer} types shall meet the |
2868 | 2868 | \oldconcept{Nullable\-Pointer} requirements (\tref{cpp17.nullablepointer}). |
2869 | 2869 | No constructor, |
2870 | 2870 | comparison operator function, copy operation, move operation, or swap operation on |
2871 | 2871 | these pointer types shall exit via an exception. \tcode{XX::pointer} and \tcode{XX::const_pointer} shall also |
2872 | 2872 | meet the requirements for |
2873 | | -a \oldconcept{RandomAccessIterator}\iref{random.access.iterators} and |
| 2873 | +a \oldconceptref{RandomAccessIterator}\iref{random.access.iterators} and |
2874 | 2874 | the additional requirement that, when \tcode{p} and \tcode{(p + n)} are |
2875 | 2875 | dereferenceable pointer values for some integral value \tcode{n}, |
2876 | 2876 | \begin{codeblock} |
|
0 commit comments