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 8277
8277
scoped_lock& operator=(const scoped_lock&) = delete;
8278
8278
8279
8279
private:
8280
- tuple<MutexTypes&...> pm ; // \expos
8280
+ tuple<MutexTypes&...> @ \exposid {pm}@ ; // \expos
8281
8281
};
8282
8282
}
8283
8283
\end {codeblock }
8287
8287
within a scope. A \tcode {scoped_lock} object maintains ownership of lockable
8288
8288
objects throughout the \tcode {scoped_lock} object's lifetime\iref {basic.life }.
8289
8289
The 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}
8291
8291
object.
8292
8292
\begin {itemize }
8293
8293
\item
8311
8311
\begin {itemdescr }
8312
8312
\pnum
8313
8313
\effects
8314
- Initializes \tcode {pm} with \tcode {tie(m...)}.
8314
+ Initializes \exposid {pm} with \tcode {tie(m...)}.
8315
8315
Then if \tcode {sizeof...(MutexTypes)} is \tcode {0}, no effects.
8316
8316
Otherwise if \tcode {sizeof...(MutexTypes)} is \tcode {1}, then \tcode {m.lock()}.
8317
8317
Otherwise, \tcode {lock(m...)}.
8329
8329
8330
8330
\pnum
8331
8331
\effects
8332
- Initializes \tcode {pm} with \tcode {tie(m...)}.
8332
+ Initializes \exposid {pm} with \tcode {tie(m...)}.
8333
8333
8334
8334
\pnum
8335
8335
\throws
8345
8345
\pnum
8346
8346
\effects
8347
8347
For all \tcode {i} in \range {0}{sizeof...(MutexTypes)},
8348
- \tcode {get<i>(pm ).unlock()}.
8348
+ \tcode {get<i>(\exposid {pm} ).unlock()}.
8349
8349
\end {itemdescr }
8350
8350
8351
8351
\rSec 3[thread.lock.unique]{Class template \tcode {unique_lock}}
You can’t perform that action at this time.
0 commit comments