Skip to content

Commit 1646674

Browse files
burblebeetkoeppe
authored andcommitted
LWG3425 condition_variable_any fails to constrain its Lock parameters
1 parent 2ba8aed commit 1646674

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/threads.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4692,11 +4692,13 @@
46924692
\rSec3[thread.condition.condvarany.general]{General}
46934693

46944694
\pnum
4695-
A \tcode{Lock} type shall meet the \oldconcept{BasicLockable}
4695+
In this subclause \ref{thread.condition.condvarany},
4696+
template arguments for template parameters named \tcode{Lock}
4697+
shall meet the \oldconcept{Basic\-Lockable}
46964698
requirements\iref{thread.req.lockable.basic}.
46974699
\begin{note}
46984700
All of the standard
4699-
mutex types meet this requirement. If a \tcode{Lock} type other than one of the
4701+
mutex types meet this requirement. If a type other than one of the
47004702
standard mutex types or a \tcode{unique_lock} wrapper for a standard mutex type
47014703
is used with \tcode{condition_variable_any}, any
47024704
necessary synchronization is assumed to be in place with respect to the predicate associated

0 commit comments

Comments
 (0)