Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
bstamour
· 6y ago · 0 comments
Lock guard has no default constructor, so the line will in fact materialize a temporary lock guard around the mutex m, then throw it away at the semi-colon, thus locking nothing.
Comments
No comments yet.
Better HN