[libcxx-commits] [libcxx] [libc++][NFC] Use __construct_at and __destroy_at instead of using preprocessor conditionals (PR #70866)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 23 15:25:43 PST 2023
ldionne wrote:
@EricWF This is essentially a small simplification of the code -- we have to use construct_at and destroy_at for constexpr-friendliness, and we also like to do it for consistency everywhere. So this really just trades `#if` for an unconditional call to something that does the right thing under the hood, so I'd go ahead with this change.
https://github.com/llvm/llvm-project/pull/70866
More information about the libcxx-commits
mailing list