From 0e0b22484f91541b578ada47a99219252a3abd38 Mon Sep 17 00:00:00 2001 From: masterexplorer Date: Tue, 27 Aug 2024 10:29:55 +0200 Subject: [PATCH] added size --- TurboList.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TurboList.hpp b/TurboList.hpp index af4007a..45beed0 100644 --- a/TurboList.hpp +++ b/TurboList.hpp @@ -60,6 +60,10 @@ public: insert(elem); } } + + inline uint32_t size() noexcept { + return count; + } }; #endif /* TURBO_LIST_H */