提交 b1094fc2 编写于 作者: B Behdad Esfahbod

[arrays] Minor tweaks to hb_supplier_t

I think I like to keep this hb_supplier_t thing separately from hb_array_t.
上级 cf39c242
...@@ -271,8 +271,13 @@ typedef hb_array_t<const char> hb_bytes_t; ...@@ -271,8 +271,13 @@ typedef hb_array_t<const char> hb_bytes_t;
template <typename Type> struct hb_supplier_t : hb_array_t<const Type> template <typename Type> struct hb_supplier_t : hb_array_t<const Type>
{ {
HB_NO_CREATE_COPY_ASSIGN_TEMPLATE (hb_supplier_t, Type);
hb_supplier_t (const Type *array, unsigned int len) : hb_array_t<const Type> (array, len) {} hb_supplier_t (const Type *array, unsigned int len) : hb_array_t<const Type> (array, len) {}
hb_supplier_t (hb_array_t<const Type> v) : hb_array_t<const Type> (v) {} hb_supplier_t (hb_array_t<const Type> v) : hb_array_t<const Type> (v) {}
/* Make sure no one calls the custom & operator on us. */
Type * operator & () const;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册