| 537 | |
| 538 | template <typename S, typename Char = char_t<S>> |
| 539 | inline std::basic_string<Char> vformat( |
| 540 | const text_style& ts, const S& format_str, |
| 541 | basic_format_args<buffer_context<type_identity_t<Char>>> args) { |
| 542 | basic_memory_buffer<Char> buf; |
| 543 | internal::vformat_to(buf, ts, to_string_view(format_str), args); |
| 544 | return fmt::to_string(buf); |
| 545 | } |
| 546 | |
| 547 | /** |
| 548 | \rst |
no test coverage detected