From e1d3725b879fa6ac2d10e108bc8c7d0382dd1cbb Mon Sep 17 00:00:00 2001 From: szdytom Date: Mon, 4 Aug 2025 16:18:27 +0800 Subject: [PATCH] feat: add requires clause for totally ordered keys in SmallMap Signed-off-by: szdytom --- util/include/istd_util/small_map.h | 1 + 1 file changed, 1 insertion(+) diff --git a/util/include/istd_util/small_map.h b/util/include/istd_util/small_map.h index 5726da7..c3f8696 100644 --- a/util/include/istd_util/small_map.h +++ b/util/include/istd_util/small_map.h @@ -21,6 +21,7 @@ namespace istd { * @tparam T_Value Type of the value. */ template +requires std::totally_ordered class SmallMap { /** * @brief Internal entry structure for key-value pairs.