https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94673
Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.j.odwyer at gmail dot com --- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> --- Yes, this is/was a Clang bug; a return-type-requirement should be applied to decltype((expr)), but Clang was incorrectly applying the requirement to decltype(expr). I think this can now be closed as "not a bug" (the bug was in Clang, not GCC).