提交 38d57b9a 编写于 作者: B Behdad Esfahbod

[map] Add another TODO item

上级 7fd940f8
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
* hb_hashmap_t * hb_hashmap_t
*/ */
/* TODO if K/V is signed integer, -1 is not a good default.
* Don't know how to get to -MAX using bit work. */
template <typename K, typename V, template <typename K, typename V,
K kINVALID = hb_is_pointer (K) ? 0 : (K) -1, K kINVALID = hb_is_pointer (K) ? 0 : (K) -1,
V vINVALID = hb_is_pointer (V) ? 0 : (V) -1> V vINVALID = hb_is_pointer (V) ? 0 : (V) -1>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册