https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96204
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The reduced example above doesn't need -std=c++17, it should compile in C++11 or later.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96204
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The reduced example above doesn't need -std=c++17, it should compile in C++11 or later.