Re:Optimizing C++ Const Objects in LLVM
by stephencanon on Sunday December 27, 2015 @07:23PM
(#10799239)
The usual way to do this via memcpy, rather than either a union (requires some non-portable extension like "packed") or pointer casting (invokes undefined behavior if alignment isn't satisfied).
[ Parent
| on HN ]
There are no comments on this comment yet.