[iter] Accept pointers in hb_iter()
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 3 Apr 2019 01:12:01 +0000 (18:12 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 3 Apr 2019 01:12:01 +0000 (18:12 -0700)
commitb6f29bf14153cac51b218e3aaba9e1b3aa747a8c
tree235d03fdc81551976cd499640a5c01924ac94ad3
parentfc24bb9046e7e39d52a245bdc3480a30095cb6ee
[iter] Accept pointers in hb_iter()

No idea how to avoid dupicating code.  Was hoping hb_deref_pointer()
would do it, but looks like a pointer can't bind to a universal
reference T&&.  Humm.
src/hb-iter.hh
src/test-iter.cc