C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] function at() for span<> that throws exception on out-of-range, like vector and array ::at()
From: connor horman (chorman64_at_[hidden])
Date: 2019-11-30 05:25:17


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
>



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

Standard Proposals Archives on Google Groups