Previous mentions of the "std::span lacks size_type" issue:

I believe it's just one of those cases where "everyone knows this is a bug, but WG21 isn't willing to fix it without a paper or a National Body comment."


On Sun, Jun 30, 2019 at 10:51 AM Andrey Semashev via Std-Proposals <> wrote:

Looking at the std::span interface definition in N4820 I'm wondering why
there is no size_type type definition? This type is commonly used to get
the size type of a range or container in the users' code, so why is span
made incompatible?
Std-Proposals mailing list