| 1298 | |
| 1299 | template <typename Char, typename Handler> |
| 1300 | FMT_CONSTEXPR void handle_char_specs(const basic_format_specs<Char>* specs, |
| 1301 | Handler&& handler) { |
| 1302 | if (!specs) return handler.on_char(); |
| 1303 | if (specs->type && specs->type != 'c') return handler.on_int(); |
| 1304 | if (specs->align == align::numeric || specs->sign != sign::none || specs->alt) |
| 1305 | handler.on_error("invalid format specifier for char"); |
| 1306 | handler.on_char(); |
| 1307 | } |
| 1308 | |
| 1309 | template <typename Char, typename Handler> |
| 1310 | FMT_CONSTEXPR void handle_cstring_type_spec(Char spec, Handler&& handler) { |
no test coverage detected