Skip to content

Commit 02e9b5d

Browse files
jensmaurerzygoloid
authored andcommitted
[any.cons,any.assign] Remove redundant postconndition for moves.
[lib.types.movedfrom] already specifies that moved-from objects are left in a valid but unspecified state.
1 parent 129f699 commit 02e9b5d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/utilities.tex

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5179,10 +5179,6 @@
51795179
contains either the contained value of \tcode{other}, or
51805180
contains an object of the same type constructed from
51815181
the contained value of \tcode{other} considering that contained value as an rvalue.
5182-
5183-
\pnum
5184-
\ensures
5185-
\tcode{other} is left in a valid but otherwise unspecified state.
51865182
\end{itemdescr}
51875183

51885184
\indexlibraryctor{any}%
@@ -5330,8 +5326,7 @@
53305326

53315327
\pnum
53325328
\ensures
5333-
The state of \tcode{*this} is equivalent to the original state of \tcode{rhs}
5334-
and \tcode{rhs} is left in a valid but otherwise unspecified state.
5329+
The state of \tcode{*this} is equivalent to the original state of \tcode{rhs}.
53355330
\end{itemdescr}
53365331

53375332
\indexlibrarymember{operator=}{any}%

0 commit comments

Comments
 (0)