News for hackers. Stuff that matters.
Re:C++14 and SDL2: Managing Resources by 10098 on Friday April 18, 2014 @01:47PM (#7610289)
Maybe this one is simpler:

http://onlinehut.org/2013/01/smart-pointers-are-not-just-for...

though I was trying to use that method to manage handles, not pointers. I eventually had to write a wrapper for handles for it to fulfill the requirements imposed by unique_ptr.

There are no comments on this comment yet.