Skip to content

Commit 245c910

Browse files
burblebeetkoeppe
authored andcommitted
LWG3477 Simplify constraints for semiregular-box
1 parent 6b3c8a8 commit 245c910

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3029,7 +3029,7 @@
30293029
{ }
30303030
\end{codeblock}
30313031

3032-
\item If \tcode{\libconcept{assignable_from}<T\&, const T\&>} is not
3032+
\item If \tcode{\libconcept{copyable}<T>} is not
30333033
modeled, the copy assignment operator is equivalent to:
30343034
\begin{codeblock}
30353035
@\exposid{semiregular-box}@& operator=(const @\exposid{semiregular-box}@& that)
@@ -3041,7 +3041,7 @@
30413041
}
30423042
\end{codeblock}
30433043

3044-
\item If \tcode{\libconcept{assignable_from}<T\&, T>} is not modeled,
3044+
\item If \tcode{\libconcept{movable}<T>} is not modeled,
30453045
the move assignment operator is equivalent to:
30463046
\begin{codeblock}
30473047
@\exposid{semiregular-box}@& operator=(@\exposid{semiregular-box}@&& that)

0 commit comments

Comments
 (0)