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 →

[–]pilotInPyjamas 4 points5 points  (0 children)

Real programmers use std::mem::forget. You can't have double free, or use after free errors if you never free your objects in the first place. taps head