std::shared_lock<Mutex>::swap

Exchanges the internal states of the lock objects.

# Declarations

template< class Mutex >
void swap( shared_lock<Mutex>& other ) noexcept;

(since C++14)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also