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 f843453 commit 8d517c6Copy full SHA for 8d517c6
source/threads.tex
@@ -7874,7 +7874,7 @@
7874
\begin{itemdescr}
7875
\pnum
7876
\effects
7877
-Equivalent to: \tcode{unique_lock\{std::move(u)\}.swap(*this)}
+Equivalent to: \tcode{unique_lock(std::move(u)).swap(*this)}
7878
7879
7880
\returns
@@ -8365,7 +8365,7 @@
8365
8366
8367
8368
-Equivalent to: \tcode{shared_lock\{std::move(sl)\}.swap(*this)}
+Equivalent to: \tcode{shared_lock(std::move(sl)).swap(*this)}
8369
8370
8371
0 commit comments