4 ms·
I think we're in violent disagreement. I fully understand what my code did, but people I've worked with and gone to school have been tripped up by statements li
by Terribledactyl 11y ago
I think we're in violent disagreement. I fully understand what my code did, but people I've worked with and gone to school have been tripped up by statements like these. Stuff like this is all over exams.
- jamessu 11y agoI agree that we disagree. Your comment elsewhere: > It's all about the underhanded trick(s) with the pointers, yours will never compile. I'm forcing clang to do horrible things. Indicates, to me, that you see this as a strange behaviour that you're forcing the compiler into when in fact this is exactly the intended (and expected) semantics of const.