projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240f57e
)
Add hb_ref()
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 06:39:13 +0000
(23:39 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 06:39:13 +0000
(23:39 -0700)
Unused.
src/hb-meta.hh
patch
|
blob
|
history
diff --git
a/src/hb-meta.hh
b/src/hb-meta.hh
index
f7699d7
..
9ca63cd
100644
(file)
--- a/
src/hb-meta.hh
+++ b/
src/hb-meta.hh
@@
-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; };