From 3eb7e8d5a8b75a645d9994152451ce213e164887 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 Jul 2024 09:43:59 +0200 Subject: zz --- src/handle-fwd.hpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/handle-fwd.hpp (limited to 'src/handle-fwd.hpp') diff --git a/src/handle-fwd.hpp b/src/handle-fwd.hpp deleted file mode 100644 index 3e010f6d..00000000 --- a/src/handle-fwd.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -namespace floormat::impl_handle { - -template struct Handle; -template struct Item; -template class Page; -template class Pool; - -template -struct Handle final -{ - uint32_t index = (uint32_t)-1; - uint32_t counter = 0; - - const OBJ& get() const; - OBJ& get(); - bool operator==(const Handle& other) const noexcept; - explicit operator bool() const noexcept; - -private: - static Item& get_from_pool(uint32_t index, uint32_t counter); -}; - -} // namespace floormat::impl_handle - -namespace floormat { - -template -using handle = struct impl_handle::Handle; - -} // namespace floormat -- cgit v1.2.3