Date: Wed, 4 Nov 2026 06:48:58 +0100
> On Nov 3, 2026, at 10:30 PM, Jonathan Grant via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> It feels like C++ Contracts should not be used for this, a regular check that there is enough buffer space should be added, and an exception thrown or error code returned instead.
I think this hits the nail on the head: Contracts don’t replace input validation.
>
> It feels like C++ Contracts should not be used for this, a regular check that there is enough buffer space should be added, and an exception thrown or error code returned instead.
I think this hits the nail on the head: Contracts don’t replace input validation.
Received on 2026-11-04 05:49:12
