https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93426
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Testcase: // { dg-options "-std=gnu++2a" } #include <span> int i[1]; std::span s(i, i+1); 93426.cc:3:19: error: class template argument deduction failed: 3 | std::span s(i, i+1); | ^ 93426.cc:3:19: error: no matching function for call to 'span(int [1], int*)' ...