logoalt Hacker News

TuxSH04/23/20251 replyview on HN

Maybe they meant reinterpret_cast from/to char to u8, which in this case isn't possible in constexpr.


Replies

epcoa04/24/2025

Why would you need to do that though if you can static_cast?

show 1 reply