diff options
Diffstat (limited to 'src/handle.hpp')
-rw-r--r-- | src/handle.hpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/handle.hpp b/src/handle.hpp deleted file mode 100644 index 89c1c480..00000000 --- a/src/handle.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once -#include "handle-fwd.hpp" -#include "compat/assert.hpp" - -namespace floormat::impl_handle { - -template<typename Obj, uint32_t PageSize> -bool Handle<Obj, PageSize>::operator==(const Handle& other) const noexcept -{ - bool ret = index == other.index; - fm_debug_assert(!ret || counter == other.counter); - return ret; -} - -template<typename Obj, uint32_t PageSize> -Handle<Obj, PageSize>::operator bool() const noexcept -{ - return index != (uint32_t)-1; -} - -} // namespace floormat::impl_handle - -namespace floormat { - -} // namespace floormat |