Move around

This commit is contained in:
Behdad Esfahbod 2019-04-16 17:22:29 -04:00
parent 973717175d
commit 75fd845a4a
1 changed files with 12 additions and 13 deletions

View File

@ -34,6 +34,18 @@
#include "hb-null.hh"
struct
{
template <typename T> T
operator () (const T& v) const { return v; }
} HB_FUNCOBJ (hb_identity);
struct
{
template <typename T> bool
operator () (const T& v) const { return bool (v); }
} HB_FUNCOBJ (hb_bool);
struct
{
/* Don't know how to set priority of following. Doesn't work right now. */
@ -59,19 +71,6 @@ struct
}
} HB_FUNCOBJ (hb_hash);
struct
{
template <typename T> T
operator () (const T& v) const { return v; }
} HB_FUNCOBJ (hb_identity);
struct
{
template <typename T> bool
operator () (const T& v) const { return bool (v); }
} HB_FUNCOBJ (hb_bool);
struct
{
private: