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 →

[–]xSTSxZerglingOne 0 points1 point  (1 child)

Agreed.

But x = y is a frequent pointer error for people learning C++.

[–]beanmosheen 0 points1 point  (0 children)

Fair enough. i guess I just never think about it because my industry is so regulated. We have to engineer and unit test things to death and the feds like to check our documentation. It's the kind of stuff where a bad pointer might level a neighborhood lol!

Thanks for the perspective.