Skip to content

Commit f4939e3

Browse files
author
Dawn Perchik
committed
P0739R0 Some improvements to class template argument deduction integration into the standard library
1 parent ee7cfd9 commit f4939e3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@
17421742
using mutex_type = Mutex; // If \tcode{MutexTypes...} consists of the single type \tcode{Mutex}
17431743

17441744
explicit scoped_lock(MutexTypes&... m);
1745-
explicit scoped_lock(MutexTypes&... m, adopt_lock_t);
1745+
explicit scoped_lock(adopt_lock_t, MutexTypes&... m);
17461746
~scoped_lock();
17471747

17481748
scoped_lock(const scoped_lock&) = delete;
@@ -1789,7 +1789,7 @@
17891789

17901790
\indexlibrary{\idxcode{scoped_lock}!constructor}%
17911791
\begin{itemdecl}
1792-
explicit scoped_lock(MutexTypes&... m, adopt_lock_t);
1792+
explicit scoped_lock(adopt_lock_t, MutexTypes&... m);
17931793
\end{itemdecl}
17941794

17951795
\begin{itemdescr}

source/utilities.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4406,8 +4406,9 @@
44064406

44074407
\pnum
44084408
\remarks
4409-
This function shall not participate in overload resolution unless
4410-
\tcode{is_same_v<decay_t<T>, variant>} is \tcode{false},
4409+
This function shall not participate in overload resolution
4410+
unless \tcode{sizeof...(Types)} is nonzero,
4411+
unless \tcode{is_same_v<decay_t<T>, variant>} is \tcode{false},
44114412
unless \tcode{decay_t<T>} is neither
44124413
a specialization of \tcode{in_place_type_t}
44134414
nor a specialization of \tcode{in_place_index_t},

0 commit comments

Comments
 (0)