|
Boost : |
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2019-12-02 17:52:14
On Fri, Nov 29, 2019 at 2:39 AM Andrzej Krzemienski via Boost <
boost_at_[hidden]> wrote:
> I suspect (I am not programming in an embedded system) that rather than
> relying on __builtin_trap() or std::abort(), what you do is start treating
> a `resize()` over `capacity()` as a precondition violation (a bug). And
> this causes a different programming model and the organization of your
> code.
>
Yes, this is exactly my claim as well.
Zach
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk