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

--- Comment #6 from Tom Hughes <tom at compton dot nu> ---
The reason it only happens with -D_GLIBCXX_ASSERTIONS or in C++20 mode is that
both of those stop the use of the explicit instantiations for basic_string and
cause them to be implicitly instantiated.

Reply via email to