C++ Logo

std-proposals

Advanced search

Re: std::span<T> should be size_type NOT index_type.

From: Timur Doumler <cpp_at_[hidden]>
Date: Sun, 12 May 2019 16:10:42 +0100
std::span is not a container.

Cheers,
Timur

> On 12 May 2019, at 15:43, sotrdg sotrdg via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> https://en.cppreference.com/w/cpp/container/span <https://en.cppreference.com/w/cpp/container/span>
>
>
> index_type
> std::size_t <https://en.cppreference.com/w/cpp/types/size_t>
>
>
> Please change it to size_type just like other containers!!!! I hate the name index_type.
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden] <mailto:Std-Proposals_at_[hidden]>
> http://lists.isocpp.org/mailman/listinfo.cgi/std-proposals <http://lists.isocpp.org/mailman/listinfo.cgi/std-proposals>

Received on 2019-05-12 10:12:27