C++ Logo

std-proposals

Advanced search

Re: [std-proposals] ranges::size should always return a unsigned integer

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Wed, 8 Oct 2025 16:53:52 +0100
On Wed, 8 Oct 2025 at 16:32, Robin Savonen Söderholm via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> I disagree, I prefer using 'std::ssize'/'std::ranges::ssize' because I
> want to have it always signed. There seems to be a strong consensus that
> std::size_t should had been signed from the beginning.
>

THere are certainly strong feelings, but on both sides. I don't think
there's consensus.

Received on 2025-10-08 15:54:09