chsvlib
chsv helper source code

◆ operator bool()

operator bool ( ) const
explicitnoexcept

Checks whether the current shared_lock owns its mutex object.

Returns
true, if the current shared_lock has an associated shared_mutex object and the latter is locked via the shared_lock. Otherwise, the method returns false.