C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] std::span<T> should be size_type NOT index_type.
From: Timur Doumler (cpp_at_[hidden])
Date: 2019-05-12 10:10:42


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>



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups