https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92679
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Change the capture from [&f] to simply [f] and it works fine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92679
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Change the capture from [&f] to simply [f] and it works fine.