feat: add requires clause for totally ordered keys in SmallMap
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
8d0a6ca6f5
commit
e1d3725b87
@ -21,6 +21,7 @@ namespace istd {
|
||||
* @tparam T_Value Type of the value.
|
||||
*/
|
||||
template<typename T_Key, typename T_Value>
|
||||
requires std::totally_ordered<T_Key>
|
||||
class SmallMap {
|
||||
/**
|
||||
* @brief Internal entry structure for key-value pairs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user