[libcxx-commits] [libcxx] [libc++] Fix basic_string not allowing max_size() elements to be stored (PR #125423)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Feb 9 00:44:20 PST 2025
================
@@ -2558,7 +2558,7 @@ _LIBCPP_DEPRECATED_("use __grow_by_without_replace") basic_string<_CharT, _Trait
__throw_length_error();
----------------
philnik777 wrote:
These are the only two places where we grow the string without explicit user input, so I think we should be good.
https://github.com/llvm/llvm-project/pull/125423
More information about the libcxx-commits
mailing list