https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101029
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's only fixed on trunk so far, which will become the 12.1 release in 10-11 months. It's a regression, so either the compiler fix should get backported to the release branches (including the gcc-10 branch) or the static_assert in the standard library header should get removed. https://gcc.gnu.org/develop.html