https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440
--- Comment #3 from Tiancheng Yu <tianchengyu at tencent dot com> --- (In reply to Jonathan Wakely from comment #2) > It's not very useful to just say something works with clang on godbolt > without considering > whether it's using libc++ or libstdc++, and for the latter, *which version* > of libstdc++. Sorry for not being clear. clang does not compile with libstdc++ (trunk, as of 20240821), but works fine with libc++.