@[email protected] to Programmer [email protected] • 1 year agoYou can certainly change it. But should you?lemmy.mlimagemessage-square60fedilinkarrow-up1544
arrow-up1544imageYou can certainly change it. But should you?lemmy.ml@[email protected] to Programmer [email protected] • 1 year agomessage-square60fedilink
minus-square@[email protected]linkfedilink2•1 year 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•1 year 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)