[libcxx-commits] [PATCH] D117332: [libc++] Make sure basic_string::reserve never shrinks in all standard modes
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 24 09:38:47 PST 2022
Quuxplusone accepted this revision.
Quuxplusone added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/docs/ReleaseNotes.rst:124
+ assuming that ``std::basic_string::reserve()`` will shrink, libc++ maintains
+ the behavior to shrink even though it makes ``std::basic_string::reserve()`` not
+ a synonym for ``std::basic_string::reserve(0)`` in any Standard mode anymore.
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117332/new/
https://reviews.llvm.org/D117332
More information about the libcxx-commits
mailing list