Skip to content
Unverified Commit 69875d59 authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[libc++] Refactor node creation and destruction in list and forward_list (#65614)

This removes a lot of code duplication, makes the code simpler and
prepares the terrain for https://reviews.llvm.org/D101206, which will
fix some UB in the node-based containers.

This also allows removing the dependency of list and forward_list on
unique_ptr by using __allocation_guard instead.
parent 4d08eccd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment