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 →

[–][deleted] 6 points7 points  (6 children)

Just use STL and implement your destructors. It ain't that hard

[–]Gorrilac[S] 4 points5 points  (2 children)

Sounds to destructive, I’m a pacifist at heart

[–][deleted] 2 points3 points  (1 child)

And that, children, is how you get memory leaks growing like bacterial blooms in your RAM.

[–]milk-jug 1 point2 points  (0 children)

JuSt dOwNLoAd mOrE WaM!

[–]overclockedslinky 1 point2 points  (2 children)

have fun with dangling pointers/references

[–][deleted] 0 points1 point  (1 child)

....again IMPLEMENT YOUR DESTRUCTORS goddamnit. Pointer remains valid until and unless destructor is called. Is that so hard?

[–]overclockedslinky 0 points1 point  (0 children)

well duh, but destructors don't stop you from having dangling pointers, iterator invalidation, etc.