https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Should libstdc++ work as is against clang++? Does it perhaps need a small >tweak? it depends, It might be the case that clang does not implement all of C++20 that GCC implements either. There is also PR 79424 which might be related to your reduced testcase.