Namespaces
Variants
Views
Actions

std::unique_lock::mutex

From cppreference.com
mutex_type* mutex() const;
(since C++11)

Returns a pointer to the associated mutex, or NULL if there is no associated mutex.

Contents

[edit] Parameters

(none)

[edit] Return value

Pointer to the associated mutex or NULL if there is no associated mutex.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Example