https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120088
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jiang An from comment #2) > The divergence is probably due to that Clang and EDG haven't implemented > CWG2658 > (https://cplusplus.github.io/CWG/issues/2658.html). Yes, that would explain it, thanks.