commit | 994231ed1c7280ff3c77654c059d8a4ad0be53b2 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Fri Sep 15 10:10:26 2023 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 15 07:15:00 2023 -0700 |
tree | 120711180be9dea0a043cdb23bd8e45f54b609a9 | |
parent | c224dbbab742a05cb61cdccbc5eab86f60cf66ff [diff] |
[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. GitOrigin-RevId: 69875d59bc08f358abcb4b4d3a6ed25c059d3441