https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98660
Ivan Sorokin <vanyacpp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vanyacpp at gmail dot com --- Comment #1 from Ivan Sorokin <vanyacpp at gmail dot com> --- I'm not a GCC developer, but I'm just curious. Why the use of C-style cast is required here? Could you use static_cast instead? I mean instead of `(decltype(x))(x)` using `static_cast<decltype(x)>(x)`? Perhaps wrapping it in some macro in order to not duplicate `x` twice.