C++ Logo

std-proposals

Advanced search

Re: Adding stacktrace to std::exception

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 11 Nov 2020 10:06:22 -0800
On Wednesday, 11 November 2020 09:31:54 PST Kilian Henneberger via Std-
Proposals wrote:
> Hello everyone,
> if I am informed correctly, P0881 (https://wg21.link/P0881) has been
> approved for C++23.
> And I assume this is no new idea (also not to C++), but what do you
> think about adding a stacktrace to std::exception?

Can this be a QoI requirement?

std::exception cannot change layout. It can't store anything that isn't stored
today.

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

Received on 2020-11-11 12:06:28