https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102136
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- For C++11 std::declval almost should be used in an unevaluated context instead of a nullptr. Though this seems to have been fixed in GCC 15 ...