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 forgets to add new member to this functions.
Do you know any easy, not wrapp all members way which will remind developers to do something or write noop(memeber_name_) in this functions.
I tried to invent something but got fault.
PS: unit tests could prevent this problem, but I want something compile time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With