Re:Const vs. constexpr vs. consteval vs. constinit in C++20
by eloff on Monday November 28, 2022 @10:33PM
(#33783389)
It's undefined behavior. You can write unsafe code that's UB in both Rust and C++ (it's permitted, which I think is your objection), but those are not correct programs and they may behave in surprising ways or break when seemingly unrelated changes are made.
[ Parent
| on HN ]
There are no comments on this comment yet.