[array] Add operator *

This commit is contained in:
Behdad Esfahbod committed 2018-12-17 00:06:40 -05:00
1 parent 68d4a5eee0
commit 94e72cf1c9
1 file changed
+2
+2
View File
@@ -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))