chsvlib
chsv helper source code

◆ shared_lock() [3/5]

shared_lock ( mutex_type m,
std::defer_lock_t  t 
)
noexcept

A constructor associating the specified shared_mutex with the shared_lock object. The mutex is not locked.

Parameters
mThe shared_mutex object to use.
tA tag to specify the behaviour of the constructor.