7#include "../utility/utility.hpp"
8#include "../macros.hpp"
13hi_export_module(hikogui.unicode.unicode_break_opportunity);
16hi_export
namespace hi::inline
v1 {
18enum class unicode_break_opportunity : uint8_t {
26using unicode_break_iterator = unicode_break_vector::iterator;
27using unicode_break_const_iterator = unicode_break_vector::const_iterator;
30 auto const *s = [&] () {
32 using enum unicode_break_opportunity;
35 case mandatory:
return "!";
36 case unassigned:
return "-";
37 default: hi_no_default();
47struct std::formatter<
hi::unicode_break_opportunity, char> : std::formatter<char const *, char> {
48 auto format(hi::unicode_break_opportunity
const &t,
auto &fc)
const
50 auto const *s = [&]() {
52 using enum hi::unicode_break_opportunity;
55 case mandatory:
return "!";
56 case unassigned:
return "-";
57 default: hi_no_default();
60 return std::formatter<char const *, char>::format(s, fc);
The HikoGUI namespace.
Definition array_generic.hpp:20
DOXYGEN BUG.
Definition algorithm_misc.hpp:20