mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
Add hb_ref()
Unused.
This commit is contained in:
1 parent
240f57e58d
commit
72eb91deb9
1 file changed
+10
@@ -128,6 +128,16 @@ struct
|
||||
|
||||
} HB_FUNCOBJ (hb_deref);
|
||||
|
||||
struct
|
||||
{
|
||||
template <typename T> auto
|
||||
operator () (T&& v) const HB_AUTO_RETURN (hb_forward<T> (v))
|
||||
|
||||
template <typename T> auto
|
||||
operator () (T& v) const HB_AUTO_RETURN (hb_addressof (v))
|
||||
|
||||
} HB_FUNCOBJ (hb_ref);
|
||||
|
||||
|
||||
template<bool B, typename T = void> struct hb_enable_if {};
|
||||
template<typename T> struct hb_enable_if<true, T> { typedef T type; };
|
||||
|
||||
Reference in new issue
Block a user