projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd940f
)
[map] Add another TODO item
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 30 Mar 2019 23:38:06 +0000
(16:38 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 30 Mar 2019 23:38:06 +0000
(16:38 -0700)
src/hb-map.hh
patch
|
blob
|
history
diff --git
a/src/hb-map.hh
b/src/hb-map.hh
index
a2bbff5
..
341c159
100644
(file)
--- a/
src/hb-map.hh
+++ b/
src/hb-map.hh
@@
-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>