@[email protected] to Programmer [email protected] • 8 months agoYou can certainly change it. But should you?lemmy.mlimagemessage-square55fedilinkarrow-up1536arrow-down17
arrow-up1529arrow-down1imageYou can certainly change it. But should you?lemmy.ml@[email protected] to Programmer [email protected] • 8 months agomessage-square55fedilink
minus-square@TheEntitylink2•8 months agoThe very notion of “less of a UB” is against the concept of UB. If you have an UB in your program, all guarantees are out of the window.
minus-square@[email protected]OPlinkfedilink2•8 months agoI mean, changing a const is itself a questionable move (the question being whether the one doing it is insane)
The very notion of “less of a UB” is against the concept of UB. If you have an UB in your program, all guarantees are out of the window.
I mean, changing a
const
is itself a questionable move (the question being whether the one doing it is insane)