From ad53d4bba1beafa310857ed6bc97b95815f6f61f Mon Sep 17 00:00:00 2001 From: cat Date: Tue, 27 Jan 2026 23:44:29 +0200 Subject: [PATCH] Updated Hashable to check if it can be compared --- headers/Containers/Hashing.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/Containers/Hashing.hpp b/headers/Containers/Hashing.hpp index 7af88cf..4f64711 100644 --- a/headers/Containers/Hashing.hpp +++ b/headers/Containers/Hashing.hpp @@ -15,6 +15,7 @@ namespace Tourmaline::Containers { template concept Hashable = requires(T x) { + std::equality_comparable; { std::hash{}(x) } -> std::convertible_to; }; } // namespace Tourmaline::Containers