Remix.run Logo
moralestapia 7 months ago

>RAII deals (badly) with temporal safety

>safe initialization (use before initialization)

These two are solved by proper use of RAII.

But you have a point with UB. That's always been an issue, though, it's part of the idiosyncrasies of C/C++; all languages have their equivalent of UB.