We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5938770 commit 83ebaa1Copy full SHA for 83ebaa1
source/utilities.tex
@@ -9933,7 +9933,7 @@
9933
\effects
9934
If \tcode{r.get() == nullptr}, equivalent to \tcode{shared_ptr()}.
9935
Otherwise, if \tcode{D} is not a reference type,
9936
-equivalent to \tcode{shared_ptr(r.release(), r.get_deleter())}.
+equivalent to \tcode{shared_ptr(r.release(), std::move(r.get_deleter()))}.
9937
Otherwise, equivalent to \tcode{shared_ptr(r.release(), ref(r.get_deleter()))}.
9938
If an exception is thrown, the constructor has no effect.
9939
\end{itemdescr}
0 commit comments