https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045
--- Comment #3 from Jonathan Wakely ---
Reduced:
template
struct span
{
template
constexpr span(T (&a)[N]) : data(a), len(N) { }
constexpr bool empty() const { return len == 0; }
T* data;
unsigned long len;
};
struct byte_writer:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045
--- Comment #2 from Jonathan Wakely ---
(In reply to Hana Dusíková from comment #0)
> #include
>
> struct byte_writer: std::span {
> using std::span::span;
N.B. this line should be commented out to reproduce the problem.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045
Marek Polacek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,