We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Needs a check that will implement CP.22 from the C++ Core Guidelines.
std::mutex my_mutex; template<typename Action> void do_something(Action f) { std::unique_lock<std::mutex> lck {my_mutex}; // ... do something ... f(this); // WARNING // ... }