It seems that BasicLockable concept is enough for lock_guard, but in the standard draft(N3242), Lockable is required for the Mutex template parameter. Any reason ?
It seems that BasicLockable concept is enough for lock_guard, but in the standard draft(N3242),
Share
In n3290 (§30.4.2.1[thread.lock.guard]/1), it says,
The 2nd paragraph in n3242 is probably an editorial error. This is library defect 2023: Incorrect requirements for
lock_guardandunique_lock, and the paragraph is removed in n3290, as shown in n3278: Recent Concurrency Issue Resolutions