[all-commits] [llvm/llvm-project] f33245: [libc++] Extract destroy algorithms into separate ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Feb 10 12:20:08 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f332455dd9a2b2b3ecb20f28349673313c5b440b
https://github.com/llvm/llvm-project/commit/f332455dd9a2b2b3ecb20f28349673313c5b440b
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__format/buffer.h
M libcxx/include/__memory/construct_at.h
A libcxx/include/__memory/destroy.h
M libcxx/include/__memory/ranges_construct_at.h
A libcxx/include/__memory/ranges_destroy.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/memory
M libcxx/include/module.modulemap
Log Message:
-----------
[libc++] Extract destroy algorithms into separate headers (#126449)
This patch separates the destroy algorithms from the primitive
construct_at and destroy_at operations, which are conceptually not
algorithms. This makes it easier to start using these destroy algorithms
from upcoming relocation facilities.
As part of this, it also implements `std::destroy_at` for arrays without
relying on the `std::destroy` algorithm, which is conceptually a
higher-level facility.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list