Documentation on the method (https://en.cppreference.com/w/cpp/thread/shared_lock/release) sounds confusing to me:
disassociates the associated mutex without unlocking (i.e., releasing ownership of) it
I used to explore shared_lock and unique_lock based on the same mutex to implement read/write locking, but still can not grasp what's the point in disassociating the lock with the mutex it was built upon?
What could be a more or less real usecase?