News for hackers. Stuff that matters.
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).

There are no comments on this comment yet.