Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
leetNightshade
· 10y ago · 0 comments
Another name for this style of wrapper, with some extra functionality, is known as a Scope Guard. Wiki page:
https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Scope_Guar...
Clean implementation:
http://stackoverflow.com/a/28413370
Comments
No comments yet.
Better HN