C++ Logo

std-proposals

Advanced search

Re: Adding stacktrace to std::exception

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 13 Nov 2020 09:43:54 -0800
On Friday, 13 November 2020 08:43:25 PST Henry Miller via Std-Proposals wrote:
> The default needs to be 0: not all C++ systems are PCs with a ton of memory,
> some of us have to fight for single bytes. I also have to deal with early
> 1990s encryption what is insecure for now-obsolete legal reasons and
> everything I can do to keep those details private by default is important.

Thank you, Henry, that's my point.

But this is all QoI, since an implementation does not need to support
backtraces at all. Yours wouldn't.

The only thing that is really required for this proposal is that it not change
std::exception's ABI layout at all. A proposal that required that is DOA.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2020-11-13 11:43:59