std::shared_lock<Mutex>::release

Breaks the association of the associated mutex, if any, and *this.

# Declarations

mutex_type* release() noexcept;

(since C++14)

# Return value

Pointer to the associated mutex or a null pointer if there was no associated mutex.

# Example

This section is incompleteReason: no example

# See also