[libcxx-commits] [PATCH] D123058: [libc++] Add capacity constructor to string

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 4 11:27:49 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, Mordante.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

`operator+` currently calls `__init`. This patch adds a new constructor, so `operator+` doesn't have to call implementation details.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123058

Files:
  libcxx/include/string

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123058.420257.patch
Type: text/x-patch
Size: 4515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220404/c6f7414a/attachment.bin>


More information about the libcxx-commits mailing list