|
|
|
|
|
by friendlydude12
2915 days ago
|
|
It doesn’t need to be unable to be precluded at compile-time to be UB. The expression “1 << -3” can be precluded at compile-time, yet it compiles just fine: instead it invokes UB. Doing something at runtime is a different concept from having a runtime. In any case, C, in fact, often does have a runtime. What do you think executes main()? |
|
> In any case, C, in fact, often does have a runtime. What do you think executes main()?
Sure, that's why I said it has "no runtime" (in quotes). I'm not trying to split hairs here.