File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1742
1742
using mutex_type = Mutex; // If \tcode {MutexTypes...} consists of the single type \tcode {Mutex}
1743
1743
1744
1744
explicit scoped_lock(MutexTypes&... m);
1745
- explicit scoped_lock(MutexTypes&... m, adopt_lock_t );
1745
+ explicit scoped_lock(adopt_lock_t, MutexTypes&... m);
1746
1746
~scoped_lock();
1747
1747
1748
1748
scoped_lock(const scoped_lock&) = delete;
1789
1789
1790
1790
\indexlibrary {\idxcode {scoped_lock}!constructor}%
1791
1791
\begin {itemdecl }
1792
- explicit scoped_lock(MutexTypes&... m, adopt_lock_t );
1792
+ explicit scoped_lock(adopt_lock_t, MutexTypes&... m);
1793
1793
\end {itemdecl }
1794
1794
1795
1795
\begin {itemdescr }
Original file line number Diff line number Diff line change 4053
4053
4054
4054
\pnum
4055
4055
\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},
4058
4059
unless \tcode{decay_t<T>} is neither
4059
4060
a specialization of \tcode{in_place_type_t}
4060
4061
nor a specialization of \tcode{in_place_index_t},
You can’t perform that action at this time.
0 commit comments