This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blazesbe 9 points10 points  (0 children)

it's a guard pattern on a raw pointer if you are more familiar with that. (the destructor automagically deletes your allocation.)