[libcxx-commits] [libcxx] [libc++] Refactor node creation and destruction in list and forward_list (PR #65614)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 12 08:04:54 PDT 2023
ldionne wrote:
> LGTM.
>
> I would like to have a better understanding of the UB fixes coming up.
The UB fixes are the ones I am picking up in https://reviews.llvm.org/D101206. These fixes are about ensuring that we begin and end the lifetime of node classes, which are currently never created. We allocate the nodes and then we construct their various members individually, but we never actually call their constructor or destructor.
https://github.com/llvm/llvm-project/pull/65614
More information about the libcxx-commits
mailing list