[libcxx-commits] [libcxx] [libc++] ~vector: Don't __clear trivial typed elements (PR #86947)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 28 06:45:00 PDT 2024
philnik777 wrote:
When destroying a `vector<uint8_t>` there is no call to `__clear()`: https://godbolt.org/z/748P3f8xT. Could you give an example where this optimization applies?
https://github.com/llvm/llvm-project/pull/86947
More information about the libcxx-commits
mailing list