| 515 | template <typename S, typename... Args, |
| 516 | FMT_ENABLE_IF(internal::is_string<S>::value)> |
| 517 | void print(std::FILE* f, const text_style& ts, const S& format_str, |
| 518 | const Args&... args) { |
| 519 | internal::check_format_string<Args...>(format_str); |
| 520 | using context = buffer_context<char_t<S>>; |
| 521 | format_arg_store<context, Args...> as{args...}; |
| 522 | vprint(f, ts, format_str, basic_format_args<context>(as)); |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | Formats a string and prints it to stdout using ANSI escape sequences to |