Skip to content

cppreference std::lock C++11

Notes

std::scoped_lock offers a RAII wrapper for this function, and is generally preferred to a naked call to std::lock.