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