[array] Add operator *
This commit is contained in:
parent
68d4a5eee0
commit
94e72cf1c9
|
@ -65,6 +65,8 @@ struct hb_array_t
|
||||||
|
|
||||||
Type * operator & (void) const { return arrayZ; }
|
Type * operator & (void) const { return arrayZ; }
|
||||||
|
|
||||||
|
Type & operator * (void) { return (this->operator [])[0]; }
|
||||||
|
|
||||||
hb_array_t<Type> & operator += (unsigned int count)
|
hb_array_t<Type> & operator += (unsigned int count)
|
||||||
{
|
{
|
||||||
if (unlikely (count > len))
|
if (unlikely (count > len))
|
||||||
|
|
Loading…
Reference in New Issue