Skip to content

Commit 1b0b691

Browse files
committed
Merge 2017-07 LWG Motion 35
2 parents 691254f + f4939e3 commit 1b0b691

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
@@ -4053,8 +4053,9 @@
40534053

40544054
\pnum
40554055
\remarks
4056-
This function shall not participate in overload resolution unless
4057-
\tcode{is_same_v<decay_t<T>, variant>} is \tcode{false},
4056+
This function shall not participate in overload resolution
4057+
unless \tcode{sizeof...(Types)} is nonzero,
4058+
unless \tcode{is_same_v<decay_t<T>, variant>} is \tcode{false},
40584059
unless \tcode{decay_t<T>} is neither
40594060
a specialization of \tcode{in_place_type_t}
40604061
nor a specialization of \tcode{in_place_index_t},

0 commit comments

Comments
 (0)