| 347 | (FMT_MSC_VERSION >= 1928 && FMT_MSC_VERSION < 1930)) && \ |
| 348 | defined(__cpp_lib_is_constant_evaluated) |
| 349 | template <size_t max_string_length, typename Char = char> struct test_string { |
| 350 | template <typename T> constexpr auto operator==(const T& rhs) const -> bool { |
| 351 | return fmt::basic_string_view<Char>(rhs).compare(buffer) == 0; |
| 352 | } |
| 353 | Char buffer[max_string_length]{}; |
| 354 | }; |
| 355 | |
| 356 | template <size_t max_string_length, typename Char = char, typename... Args> |
| 357 | consteval auto test_format(auto format, const Args&... args) { |