| 473 | typename Char = typename CompiledFormat::char_type, |
| 474 | FMT_ENABLE_IF(detail::is_compiled_format<CompiledFormat>::value)> |
| 475 | FMT_INLINE FMT_CONSTEXPR_STRING auto format(const CompiledFormat& cf, |
| 476 | const T&... args) |
| 477 | -> std::basic_string<Char> { |
| 478 | auto s = std::basic_string<Char>(); |
| 479 | cf.format(std::back_inserter(s), args...); |
| 480 | return s; |
| 481 | } |
| 482 | |
| 483 | template <typename OutputIt, typename CompiledFormat, typename... T, |
| 484 | FMT_ENABLE_IF(detail::is_compiled_format<CompiledFormat>::value)> |