|
|
|
|
|
by GolDDranks
2170 days ago
|
|
Yes, it would. However, it rarely does because of how the incentives are: it's useful for optimization to pretend that UB never happens, and more optimization leads to faster binaries, which are what the compiler engineers often pursue. |
|
I guess I’ll have to go dig up the RFC discussion on this one; it should make for interesting reading.