Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
celrod
on May 23, 2024
|
parent
|
context
|
favorite
| on:
Why not just do simple C++ RAII in C?
> We live in mortal fear of compiler writers smiting us for innocent things like punning through a union.
C++20 introduced `std::bitcast`, so I appreciate alias analysis getting all the help it can.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
C++20 introduced `std::bitcast`, so I appreciate alias analysis getting all the help it can.