Added Unlink, erase, pop_back and pop_front to VectorBackedLinkedList
Implemented Unlink, erase, pop_back and pop_front. The first one unlink the given node from prev/next nodes. |erase| removes the node with the given iterator from the used list and prepends it to the free list as a free node. At this time, its value is set to be empty. Change-Id: Ic8a64c89f429037ef5628c25d89a58ce16081e8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094481 Commit-Queue: Kei Nakashima <keinakashima@google.com> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#748169}
Showing
Please register or sign in to comment