https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Hana Dusíková from comment #0) > #include <span> > > struct byte_writer: std::span<char> { > using std::span<char>::span; N.B. this line should be commented out to reproduce the problem.