File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 82498249 scoped_lock& operator=(const scoped_lock&) = delete;
82508250
82518251 private:
8252- tuple<MutexTypes&...> pm ; // \expos
8252+ tuple<MutexTypes&...> @ \exposid {pm}@ ; // \expos
82538253 };
82548254}
82558255\end {codeblock }
82598259within a scope. A \tcode {scoped_lock} object maintains ownership of lockable
82608260objects throughout the \tcode {scoped_lock} object's lifetime\iref {basic.life }.
82618261The behavior of a program is undefined if the lockable objects referenced by
8262- \tcode {pm} do not exist for the entire lifetime of the \tcode {scoped_lock}
8262+ \exposid {pm} do not exist for the entire lifetime of the \tcode {scoped_lock}
82638263object.
82648264\begin {itemize }
82658265\item
82838283\begin {itemdescr }
82848284\pnum
82858285\effects
8286- Initializes \tcode {pm} with \tcode {tie(m...)}.
8286+ Initializes \exposid {pm} with \tcode {tie(m...)}.
82878287Then if \tcode {sizeof...(MutexTypes)} is \tcode {0}, no effects.
82888288Otherwise if \tcode {sizeof...(MutexTypes)} is \tcode {1}, then \tcode {m.lock()}.
82898289Otherwise, \tcode {lock(m...)}.
83018301
83028302\pnum
83038303\effects
8304- Initializes \tcode {pm} with \tcode {tie(m...)}.
8304+ Initializes \exposid {pm} with \tcode {tie(m...)}.
83058305
83068306\pnum
83078307\throws
83178317\pnum
83188318\effects
83198319For all \tcode {i} in \range {0}{sizeof...(MutexTypes)},
8320- \tcode {get<i>(pm ).unlock()}.
8320+ \tcode {get<i>(\exposid {pm} ).unlock()}.
83218321\end {itemdescr }
83228322
83238323\rSec 3[thread.lock.unique]{Class template \tcode {unique_lock}}
You can’t perform that action at this time.
0 commit comments