https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86471
--- Comment #22 from Matt Bentley <mattreecebentley at gmail dot com> --- (In reply to Jonathan Wakely from comment #21) > Surely static_cast is good enough, and doesn't rule out making the function > constexpr? It may well be, how does reinterpret_cast cause constexpr to fail, given that it's also compile-time?