• TheEntity@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    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.

    • fl42v@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I mean, changing a const is itself a questionable move (the question being whether the one doing it is insane)