Mutexed 0.0.1
A header-only mutex-protected value wrapper for C++20.
Loading...
Searching...
No Matches
llh::mutexed::shared_lockable Concept Reference

Checks if M has the member functions of a shared mutex. More...

#include <mutexed.hpp>

Concept definition

template<typename M>
concept llh::mutexed::shared_lockable = requires(M& m) {
m.lock_shared();
m.unlock_shared();
{ m.try_lock_shared() } -> std::same_as<bool>;
}
Checks if M has the member functions of a shared mutex.
Definition mutexed.hpp:20

Detailed Description

Checks if M has the member functions of a shared mutex.

Definition at line 20 of file mutexed.hpp.