Skip to content

Commit c30374c

Browse files
burblebeetkoeppe
authored andcommitted
LWG3455 Incorrect Postconditions on unique_ptr move assignment
1 parent be8cc6b commit c30374c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/utilities.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8898,7 +8898,9 @@
88988898

88998899
\pnum
89008900
\ensures
8901-
\tcode{u.get() == nullptr}.
8901+
If \tcode{this != addressof(u)},
8902+
\tcode{u.get() == nullptr},
8903+
otherwise \tcode{u.get()} is unchanged.
89028904

89038905
\pnum
89048906
\returns

0 commit comments

Comments
 (0)