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: Lyberta (lyberta_at_[hidden])
Date: 2019-11-30 10:31:00


Ville Voutilainen via Std-Proposals:
> The argument is that an exception that would be thrown by at() is a
> logic error in the program
How is sanitizing user input a logic error?




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

Standard Proposals Archives on Google Groups