reinterpret_cast<> for punning purposes can lead to UB. The recommended C++ alternative to avoid UB is bit_cast<>
https://stackoverflow.com/questions/53401654/why-was-stdbit-...
https://stackoverflow.com/questions/53401654/why-was-stdbit-...
No comments yet.