parent
240f57e58d
commit
72eb91deb9
|
@ -128,6 +128,16 @@ struct
|
||||||
|
|
||||||
} HB_FUNCOBJ (hb_deref);
|
} 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<bool B, typename T = void> struct hb_enable_if {};
|
||||||
template<typename T> struct hb_enable_if<true, T> { typedef T type; };
|
template<typename T> struct hb_enable_if<true, T> { typedef T type; };
|
||||||
|
|
Loading…
Reference in New Issue