[libcxx-commits] [PATCH] D142526: [libc++] Rename multidimentional uninitialized algorithms
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 25 09:25:10 PST 2023
Mordante accepted this revision.
Mordante added a comment.
This revision is now accepted and ready to land.
Can you put NFC in the title?
LGTM!
================
Comment at: libcxx/include/__memory/uninitialized_algorithms.h:407
// If the object being constructed is an array, each element of the array is allocator-constructed,
// recursively. If an exception is thrown during the construction of an array, the initialized
// elements are destroyed in reverse order of initialization using allocator destruction.
----------------
I'm not entirely sold on the name `multidimensional`, maybe `recursive` would be a better name. WDYT?
(I did notice `__allocator_destroy_multidimensional` already exists.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142526/new/
https://reviews.llvm.org/D142526
More information about the libcxx-commits
mailing list