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

--- Comment #20 from Jan Hubicka <hubicka at ucw dot cz> ---
> If you're mostly concerned with std::string, everything is constexpr (and so
> implicitly inline) in C++20 anyway. I'm not sure it's worth doing anything for
> std::string when the default is likely to be -std=gnu++20 for GCC 16 anyway.

I think std::string is just an example of the problem.  Can we expect
that almost everything explicitely instantiated that makes sense to optimize
through (inline, detect side-effects etc.) is declared constexpr?

Reply via email to