C++ Logo

std-discussion

Advanced search

Re: extremely long compile time with large number of string literals

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Fri, 10 Jul 2020 02:19:34 +0300
On Fri, 10 Jul 2020 at 02:15, Thiago Macieira via Std-Discussion
<std-discussion_at_[hidden]> wrote:

> std::string can throw. For the Nth string that can throw, the compiler needs
> to generate code to destroy all the N-1 strings that were created before that
> point, then resume the exception unwinding.

That's not quite how itanium ABI unwinding works.

Received on 2020-07-09 18:23:00