https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126252
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to [email protected] from comment #4) > > --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > > Indeed, the libc headers declare it in namespace std instead. > > Right, I forgot. AFAIU this is benign, though. > > Btw., is there a way to investigate static assertion failures directly? > For a regular one, you can just run the code under a debugger and look > around. For static ones, it seems you have to guess... There is always __builtin_constexpr_diag you can use to see what is going on during the constant evaluation. Or debugger on cc1plus.
