llvm-project
f332455d - [libc++] Extract destroy algorithms into separate headers (#126449)

Commit
305 days ago
[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.
Author
Parents
Loading