Move around

pull/1670/head
Behdad Esfahbod 6 years ago
parent 973717175d
commit 75fd845a4a
  1. 25
      src/hb-algs.hh

@ -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:

Loading…
Cancel
Save