3 ms·
> Don’t ask. If you’re not one of the 5 or so people in the world who already know what this is, you don’t want or need to know. The attitude rings true though
by avidphantasm 3y ago
> Don’t ask. If you’re not one of the 5 or so people in the world who already know what this is, you don’t want or need to know.
The attitude rings true though. I am convinced that C++ is
proof that we have discovered alien technology, and it is awful.
- ericdfoley 3y agoThe thing is that there is probably a lot of existing C++ code that is UB without std::launder (similarly to aliasing rules.) The main problem is that the C++ object lifetime rules are not well understood by most people writing C++ code.
- sqeaky 3y agoI hadn't even considered the task of going through old code and using this to make it more compliant, this is a great use case for this feature.