[map] Add another TODO item

This commit is contained in:
Behdad Esfahbod 2019-03-30 16:38:06 -07:00
parent 7fd940f899
commit 38d57b9a66
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@
* 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,
K kINVALID = hb_is_pointer (K) ? 0 : (K) -1,
V vINVALID = hb_is_pointer (V) ? 0 : (V) -1>