struct adopt_lock_t {};
Type of adopt_lock
This is an empty class used as the type of adopt_lock.

Passing adopt_lock to the constructor of unique_lock or lock_guard, makes the object to not lock the mutex object, and assume instead that it is already locked by the current thread.

See also