https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101258
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the v in is_integral_v stands for value :). GCC's job is also not to teach you C++, though the documentation and warnings can help.