https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #13) > It should work in C++17, but is not the subject of this bug report. That's now PR 84981. For this PR, the only remaining bug seems to be comment 8.