Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6643,16 +6643,11 @@
\begin{itemdescr}
\pnum
\effects
As if by \tcode{any(rhs).swap(*this)}.
No effects if an exception is thrown.
Equivalent to: \tcode{any(rhs).swap(*this);}

\pnum
\returns
\tcode{*this}.

\pnum
\throws
Any exceptions arising from the copy constructor for the contained value.
\end{itemdescr}

\indexlibrarymember{operator=}{any}%
Expand All @@ -6663,11 +6658,7 @@
\begin{itemdescr}
\pnum
\effects
As if by \tcode{any(std::move(rhs)).swap(*this)}.

\pnum
\ensures
The state of \tcode{*this} is equivalent to the original state of \tcode{rhs}.
Equivalent to: \tcode{any(std::move(rhs)).swap(*this);}

\pnum
\returns
Expand Down Expand Up @@ -13115,7 +13106,7 @@
\begin{itemdescr}
\pnum
\effects
As if by \tcode{function(f).swap(*this);}
Equivalent to: \tcode{function(f).swap(*this);}

\pnum
\returns
Expand All @@ -13130,8 +13121,7 @@
\begin{itemdescr}
\pnum
\effects
Replaces the target of \tcode{*this}
with the target of \tcode{f}.
Equivalent to: \tcode{function(std::move(f)).swap(*this);}

\pnum
\returns
Expand Down