On 02/17/24 11:15 AM, Bonita Montero wrote:
Why is there lock_guard when unique_lock can anything lock_guard
can do but far more ?
If you really want to ask about it, you should probably consider
`scoped_lock` instead of `lock_guard` anyway. The rest can be found here
https://stackoverflow.com/a/60172828
--
Best regards,
Andrey
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)