[map] Add another TODO item
This commit is contained in:
parent
7fd940f899
commit
38d57b9a66
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue