self-assignment

1 moment(s) that assert this concept — showing 1–1 of 1

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] ACM
showing 1 of 1 moments
ACM SIGPLAN · youtube · en
1C++11 memory model prohibits compilers from introducing self-assignments because they violate sequential consistency in data race-free programs.
“compilers are not allowed to introduce assignments of a variable to itself uh because that's actually observable and violates the sequential consistency for data race free program rules”
spoken · 178s · 2024-03-04