diff --git a/src/util/IntrusiveHashSet.hxx b/src/util/IntrusiveHashSet.hxx index cdcc76bd6..1d911f0e0 100644 --- a/src/util/IntrusiveHashSet.hxx +++ b/src/util/IntrusiveHashSet.hxx @@ -143,9 +143,22 @@ public: using const_pointer = const T *; using size_type = std::size_t; + using hasher = Hash; + using key_equal = Equal; + [[nodiscard]] IntrusiveHashSet() noexcept = default; + [[nodiscard]] + constexpr const hasher &hash_function() const noexcept { + return hash; + } + + [[nodiscard]] + constexpr const key_equal key_eq() const noexcept { + return equal; + } + [[nodiscard]] constexpr bool empty() noexcept { if constexpr (constant_time_size)