[array] Add operator *

pull/1488/head
Behdad Esfahbod 6 years ago
parent 68d4a5eee0
commit 94e72cf1c9
  1. 2
      src/hb-array.hh

@ -65,6 +65,8 @@ struct hb_array_t
Type * operator & (void) const { return arrayZ; }
Type & operator * (void) { return (this->operator [])[0]; }
hb_array_t<Type> & operator += (unsigned int count)
{
if (unlikely (count > len))

Loading…
Cancel
Save