Dep/fmt: Upgrade to 10.2.1

This commit is contained in:
Shauren
2024-05-03 19:38:57 +02:00
parent 22e657eac1
commit 2aedd8ecdb
21 changed files with 4089 additions and 3590 deletions

View File

@@ -122,4 +122,8 @@ struct fmt::formatter<Optional<T>, Char> : formatter<T, Char>
}
};
// allow implicit enum to int conversions for formatting
template <typename E, std::enable_if_t<std::is_enum_v<E>, std::nullptr_t> = nullptr>
auto format_as(E e) { return std::underlying_type_t<E>(e); }
#endif