Skip to content

Commit

Permalink
[optional.assign] Use itemized list for operator=(U&& v) constraints (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-downey authored Sep 17, 2024
1 parent d930c5f commit 9243ba5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3767,10 +3767,12 @@
\begin{itemdescr}
\pnum
\constraints
\tcode{is_same_v<remove_cvref_t<U>, optional>} is \tcode{false},
\tcode{conjunction_v<is_scalar<T>, is_same<T, decay_t<U>>>} is \tcode{false},
\tcode{is_constructible_v<T, U>} is \tcode{true}, and
\tcode{is_assignable_v<T\&, U>} is \tcode{true}.
\begin{itemize}
\item \tcode{is_same_v<remove_cvref_t<U>, optional>} is \tcode{false},
\item \tcode{conjunction_v<is_scalar<T>, is_same<T, decay_t<U>>>} is \tcode{false},
\item \tcode{is_constructible_v<T, U>} is \tcode{true}, and
\item \tcode{is_assignable_v<T\&, U>} is \tcode{true}.
\end{itemize}

\pnum
\effects
Expand Down

0 comments on commit 9243ba5

Please sign in to comment.