C++ Logo

std-proposals

Advanced search

Re: function at() for span<> that throws exception on out-of-range, like vector and array ::at()

From: connor horman <chorman64_at_[hidden]>
Date: Sat, 30 Nov 2019 06:25:17 -0500
Same as index operator, I would assume, for consistency.

On Sat, Nov 30, 2019 at 05:16 Eyal Rozenberg via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> What are the arguments against "at()", other than possibly being redundant?
>
> Eyal
>
> On 30/11/2019 05:15, Ville Voutilainen via Std-Proposals wrote:
> > some technical experts
> > ... are adamant about at() being an abomination
> > "thou shalt not ever perform
> > that operation" connotations that some
> > subscribe to.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2019-11-30 05:27:51