提交 5e1840e0 编写于 作者: B Behdad Esfahbod

[iter] Disallow copy-construction or assignment of hb_iter_t<>

Should only be done by subclass.
上级 65e8bd56
......@@ -105,6 +105,11 @@ struct hb_iter_t
/* Random access: Return true if len(), forward(), item_at() are fast. */
bool __random_access__ () const { return false; }
protected:
hb_iter_t () {}
hb_iter_t (const hb_iter_t &o) {}
void operator = (const hb_iter_t &o) {}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册