[libcxx-commits] [PATCH] D117332: [libc++] Make sure basic_string::reserve never shrinks in all standard modes

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 24 09:23:55 PST 2022


ldionne updated this revision to Diff 402567.
ldionne marked 4 inline comments as done.
ldionne added a comment.

Don't change the behavior of basic_string::reserve().


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117332/new/

https://reviews.llvm.org/D117332

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/include/string
  libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
  libcxx/test/libcxx/strings/basic.string/string.capacity/reserve.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117332.402567.patch
Type: text/x-patch
Size: 6287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220124/339ac6e5/attachment-0001.bin>


More information about the libcxx-commits mailing list