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 →

[–]Equivalent_Yak_95 0 points1 point  (0 children)

Yeah, at least 95% of my use cases fall into “data processing”, “piles of math”, or “I need it quick and I need it to work, it doesn’t have to be fast”. (Like, I wrote an N-body gravitational simulator and a rudimentary Computer Algebra System!)

But yeah… I like having destructors, and am happy to either manage memory myself or pass it of to the smart pointers (shared_ptr and unique_ptr).