From d2b4e5bf94dada509ad1e548c316379a062081cc Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Fri, 30 Aug 2024 13:37:25 +0200 Subject: [PATCH] added todo about finalize --- TurboList.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TurboList.hpp b/TurboList.hpp index 894066f..7646118 100644 --- a/TurboList.hpp +++ b/TurboList.hpp @@ -126,6 +126,8 @@ public: } } + // TODO: finalize() call which memcpy remaining elements of old into nex and then frees old and sets nullptr + mid = 0; + inline uint32_t size() noexcept { return end; }