|
|
|
@ -123,10 +123,8 @@ struct hb_bit_set_invertible_t |
|
|
|
|
bool get (hb_codepoint_t g) const { return s.get (g) ^ inverted; } |
|
|
|
|
|
|
|
|
|
/* Has interface. */ |
|
|
|
|
static constexpr bool SENTINEL = false; |
|
|
|
|
typedef bool value_t; |
|
|
|
|
value_t operator [] (hb_codepoint_t k) const { return get (k); } |
|
|
|
|
bool has (hb_codepoint_t k) const { return (*this)[k] != SENTINEL; } |
|
|
|
|
bool operator [] (hb_codepoint_t k) const { return get (k); } |
|
|
|
|
bool has (hb_codepoint_t k) const { return (*this)[k]; } |
|
|
|
|
/* Predicate. */ |
|
|
|
|
bool operator () (hb_codepoint_t k) const { return has (k); } |
|
|
|
|
|
|
|
|
|