[libcxx-commits] [PATCH] D102727: Use precise growth rather than amortized growth in std::string::resize/__resize_default_init.

Evan Brown via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 21 11:42:33 PDT 2021


ezbr updated this revision to Diff 360541.
ezbr added a comment.

Update __config comment and change test to not hardcode basic_string::__alignment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102727

Files:
  libcxx/include/__config
  libcxx/include/string
  libcxx/test/libcxx/strings/basic.string/string.capacity/resize.exact.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102727.360541.patch
Type: text/x-patch
Size: 4064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210721/a4c24276/attachment.bin>


More information about the libcxx-commits mailing list