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 82788278 scoped_lock& operator=(const scoped_lock&) = delete;
82798279
82808280 private:
8281- tuple<MutexTypes&...> pm ; // \expos
8281+ tuple<MutexTypes&...> @ \exposid {pm}@ ; // \expos
82828282 };
82838283}
82848284\end {codeblock }
82888288within a scope. A \tcode {scoped_lock} object maintains ownership of lockable
82898289objects throughout the \tcode {scoped_lock} object's lifetime\iref {basic.life }.
82908290The behavior of a program is undefined if the lockable objects referenced by
8291- \tcode {pm} do not exist for the entire lifetime of the \tcode {scoped_lock}
8291+ \exposid {pm} do not exist for the entire lifetime of the \tcode {scoped_lock}
82928292object.
82938293\begin {itemize }
82948294\item
83128312\begin {itemdescr }
83138313\pnum
83148314\effects
8315- Initializes \tcode {pm} with \tcode {tie(m...)}.
8315+ Initializes \exposid {pm} with \tcode {tie(m...)}.
83168316Then if \tcode {sizeof...(MutexTypes)} is \tcode {0}, no effects.
83178317Otherwise if \tcode {sizeof...(MutexTypes)} is \tcode {1}, then \tcode {m.lock()}.
83188318Otherwise, \tcode {lock(m...)}.
83308330
83318331\pnum
83328332\effects
8333- Initializes \tcode {pm} with \tcode {tie(m...)}.
8333+ Initializes \exposid {pm} with \tcode {tie(m...)}.
83348334
83358335\pnum
83368336\throws
83468346\pnum
83478347\effects
83488348For all \tcode {i} in \range {0}{sizeof...(MutexTypes)},
8349- \tcode {get<i>(pm ).unlock()}.
8349+ \tcode {get<i>(\exposid {pm} ).unlock()}.
83508350\end {itemdescr }
83518351
83528352\rSec 3[thread.lock.unique]{Class template \tcode {unique_lock}}
You can’t perform that action at this time.
0 commit comments