[libcxx-commits] [libcxx] [libc++][NFC] Remove some dead code in string (PR #94893)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 10 15:09:59 PDT 2024


philnik777 wrote:

It looks like the last references got removed in c747bd0. It removed a `__zero()` function, which was probably created at some point in the ancient past to optimize copying the `string` representation (you'll probably be able to dig deeper in case you want to). The `__zero()` function got simplified to an assignment as part of making `string` `constexpr`.

https://github.com/llvm/llvm-project/pull/94893


More information about the libcxx-commits mailing list