[array] Add constructor from hb_array_t<const Type>
This commit is contained in:
parent
92680361ec
commit
7c0e3e9b2b
|
@ -41,6 +41,7 @@ struct hb_array_t
|
||||||
|
|
||||||
hb_array_t (void) : arrayZ (nullptr), len (0) {}
|
hb_array_t (void) : arrayZ (nullptr), len (0) {}
|
||||||
hb_array_t (const hb_array_t &o) : arrayZ (o.arrayZ), len (o.len) {}
|
hb_array_t (const hb_array_t &o) : arrayZ (o.arrayZ), len (o.len) {}
|
||||||
|
hb_array_t (hb_array_t<const Type> o) : arrayZ (o.arrayZ), len (o.len) {}
|
||||||
hb_array_t (Type *array_, unsigned int len_) : arrayZ (array_), len (len_) {}
|
hb_array_t (Type *array_, unsigned int len_) : arrayZ (array_), len (len_) {}
|
||||||
|
|
||||||
Type& operator [] (int i_) const
|
Type& operator [] (int i_) const
|
||||||
|
|
Loading…
Reference in New Issue