| 522 | typename Char = typename CompiledFormat::char_type, |
| 523 | FMT_ENABLE_IF(internal::is_compiled_format<CompiledFormat>::value)> |
| 524 | std::basic_string<Char> format(const CompiledFormat& cf, const Args&... args) { |
| 525 | basic_memory_buffer<Char> buffer; |
| 526 | cf.format(std::back_inserter(buffer), args...); |
| 527 | return to_string(buffer); |
| 528 | } |
| 529 | |
| 530 | template <typename OutputIt, typename CompiledFormat, typename... Args, |
| 531 | FMT_ENABLE_IF(internal::is_compiled_format<CompiledFormat>::value)> |