7#include "../unicode/grapheme.hpp"
8#include "../utility/module.hpp"
10namespace hi::inline
v1 {
23 return hash_mix(
reinterpret_cast<ptrdiff_t
>(
font), g);
30 return (lhs.font == rhs.font) and (lhs.g == rhs.g);
#define hi_assert_not_null(x,...)
Assert if an expression is not nullptr.
Definition assert.hpp:223
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
Combined font_id + grapheme for use as a key in a std::unordered_map.
Definition font_grapheme_id.hpp:14
A grapheme-cluster, what a user thinks a character is.
Definition grapheme.hpp:39