https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98933

--- Comment #2 from Mark <markus.kuehni at triviso dot ch> ---
(In reply to Jakub Jelinek from comment #1)
> Have you noticed the
> In Kona 2019, this approach was considered too brittle, and as a result
> non-transient allocation was removed from the feature set. 
> line just below that example?
> This is not valid C++20.

So just to understand this right. It is ok as long as it does not survive
compilation?

But how are you going to implement constexpr std::vector and std::string then? 

(I'm actually somehow trying to bridge the time until that happens ;-)

Reply via email to