| 217 | } |
| 218 | |
| 219 | inline void require_numeric_argument(const Arg &arg, char spec) { |
| 220 | if (arg.type > Arg::LAST_NUMERIC_TYPE) { |
| 221 | std::string message = |
| 222 | fmt::format("format specifier '{}' requires numeric argument", spec); |
| 223 | FMT_THROW(fmt::FormatError(message)); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | template <typename Char> |
| 228 | void check_sign(const Char *&s, const Arg &arg) { |
no test coverage detected