https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Miro Palmu from comment #5) > If you use libstdc++ on clang these will not compile but with different > errors. The examples in comment 4 do compile using libstdc++ on clang, if you use libstdc++ headers from after sept 29 (for trunk) or oct 21 (for gcc-13).