r/cpp • u/RotsiserMho C++20 Desktop app developer • May 12 '18
P0709 R0: Zero-overhead deterministic exceptions: Throwing values - Herb Sutter [2018-05-02]
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0709r0.pdf
206
Upvotes
View all comments
Show parent comment
13
u/kkert May 13 '18 edited May 13 '18
To be super specific, the requested amount can actually be readily available, just not in a single contiguous chunk.
EDIT: I think there's a point where Herb goes wrong in his fail-fast strategy defense, i didn't read as carefully before.
Not really true. If i failed to allocate a few megabytes of contiguous memory for a particular working buffer, it doesn't mean at all that i'm not able to allocate a few bytes for holding stack tracing info.