C++ Logo


Advanced search

span: why no size_type?

From: Andrey Semashev <andrey.semashev_at_[hidden]>
Date: Sun, 30 Jun 2019 17:51:19 +0300

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?

Received on 2019-06-30 09:53:14