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 82058205 lock_guard& operator=(const lock_guard&) = delete;
82068206
82078207 private:
8208- mutex_type& pm ; // \expos
8208+ mutex_type& @ \exposid {pm}@ ; // \expos
82098209 };
82108210}
82118211\end {codeblock }
82158215within a scope. A \tcode {lock_guard} object maintains ownership of a lockable
82168216object throughout the \tcode {lock_guard} object's lifetime\iref {basic.life }.
82178217The behavior of a program is undefined if the lockable object referenced by
8218- \tcode {pm} does not exist for the entire lifetime of the \tcode {lock_guard}
8218+ \exposid {pm} does not exist for the entire lifetime of the \tcode {lock_guard}
82198219object. The supplied \tcode {Mutex} type shall meet the \oldconcept {BasicLockable}
82208220requirements\iref {thread.req.lockable.basic }.
82218221
82278227\begin {itemdescr }
82288228\pnum
82298229\effects
8230- Initializes \tcode {pm} with \tcode {m}. Calls \tcode {m.lock()}.
8230+ Initializes \exposid {pm} with \tcode {m}. Calls \tcode {m.lock()}.
82318231\end {itemdescr }
82328232
82338233\indexlibraryctor {lock_guard}%
82428242
82438243\pnum
82448244\effects
8245- Initializes \tcode {pm} with \tcode {m}.
8245+ Initializes \exposid {pm} with \tcode {m}.
82468246
82478247\pnum
82488248\throws
82578257\begin {itemdescr }
82588258\pnum
82598259\effects
8260- Equivalent to: \tcode {pm .unlock()}
8260+ Equivalent to: \tcode {\exposid {pm} .unlock()}
82618261\end {itemdescr }
82628262
82638263\rSec 3[thread.lock.scoped]{Class template \tcode {scoped_lock}}
You can’t perform that action at this time.
0 commit comments