Almost all c++ projects have classes with copy c-tor/copy operator/serialize method etc. Which usualy doing something with all members.
But sometimes developers forg
I think the best way to avoid this problem is cut it at the root: Don't use custom copy operator/constructor.
This may not always be possible, but in most cases I really think it is...