Y
Hacker News
new
|
ask
|
show
|
jobs
by
TuxSH
80 days ago
> But reinterpret_cast isn't valid in a constexpr scope.
std::bit_cast is
1 comments
debugnik
80 days ago
Oh cool, and it behaves like memcpy, not like pointer aliasing! I'm stuck with C++14 at work so I missed that one.
link