Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lunfard000
· 3y ago · 0 comments
maybe add SerenityOS to the title? Almost sure that lock_guard is the ideomatic way to do this on cpp, not buying the "forget to lock".
Comments
[–]
saagarjha
3y ago
It’s a general C++ trick.
[–]
Yoric
3y ago
FWIW, I've encountered "forget to lock" in production C++.