4 ms·
These will have different sizes though, so it’s only safe to cast when used off the heap and where it’s memory is allocated with the larger variant, right? I g
by bluejekyll 3y ago
These will have different sizes though, so it’s only safe to cast when used off the heap and where it’s memory is allocated with the larger variant, right?
I guess my point is that there’s a whole bunch of caveats in regards to safety that need to be considered in your solution.
- ReflectedImage 3y agoIt's not my solution, it's just something I've seen done in commercial C software.