https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105606
--- Comment #4 from Joel Johnson <mrjoel at lixil dot net> --- > Wait you didn't mention you needed -std=c++20 to get the failure. Ah indeed, my apologies! I'm unable to reproduce the Clang failure using -std=c++20, at least in a quick godbolt check at https://godbolt.org/z/3W4xeYdWs.