C++ Logo


Advanced search

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

From: Lyberta <lyberta_at_[hidden]>
Date: Sat, 30 Nov 2019 16:31:00 +0000
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?

Received on 2019-11-30 10:33:37