forked from fmtlib/fmt
check -> is_printable
This commit is contained in:
@@ -180,14 +180,14 @@ inline auto is_printable(uint32_t cp) -> bool {\
|
||||
print("""\
|
||||
auto lower = static_cast<uint16_t>(cp);
|
||||
if (cp < 0x10000) {
|
||||
return check(lower, singletons0_upper,
|
||||
sizeof(singletons0_upper) / sizeof(*singletons0_upper),
|
||||
singletons0_lower, normal0, sizeof(normal0));
|
||||
return is_printable(lower, singletons0_upper,
|
||||
sizeof(singletons0_upper) / sizeof(*singletons0_upper),
|
||||
singletons0_lower, normal0, sizeof(normal0));
|
||||
}
|
||||
if (cp < 0x20000) {
|
||||
return check(lower, singletons1_upper,
|
||||
sizeof(singletons1_upper) / sizeof(*singletons1_upper),
|
||||
singletons1_lower, normal1, sizeof(normal1));
|
||||
return is_printable(lower, singletons1_upper,
|
||||
sizeof(singletons1_upper) / sizeof(*singletons1_upper),
|
||||
singletons1_lower, normal1, sizeof(normal1));
|
||||
}\
|
||||
""")
|
||||
for a, b in extra:
|
||||
|
Reference in New Issue
Block a user