3 ms·
Not too terrible to create a private method that does the reinterpret_cast for you. I've had to use this technique in the past and therefore dived into the sta
by tylerhou 5y ago
Not too terrible to create a private method that does the reinterpret_cast for you.
I've had to use this technique in the past and therefore dived into the standard for quite a while. I don't recall encountering any UB concerns.