https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103013
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-11-01 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to TC from comment #4) > I don't think this needs an extra constraint, just reordering the existing > ones to check not-a-span (14.3, "remove_cvref_t<R> is not a specialization > of span") first. Good point - we should do that just because it's cheaper to evaluate the !is_span check before we waste time determining if it's a contiguous range.