News for hackers. Stuff that matters.
Re:Custom Deleters for C++ Smart Pointers by leetNightshade on Thursday April 28, 2016 @01:02PM (#11590300)
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

There are no comments on this comment yet.