| ▲ | panstromek 12 hours ago | |||||||
I have bumped into this myself, too. It's really annoying. The biggest footgun isn't even discussed explicitly and it might be how the error got introduced - it's when the struct goes from POD to non-POD or vice-versa, the rules change, so completely innocent change, like adding a string field, can suddenly create undefined behaviour in unrelated code that was correct previously. | ||||||||
| ▲ | feelamee 10 hours ago | parent [-] | |||||||
wow, can you elaborate how adding a string field can break some assumptions? | ||||||||
| ||||||||