17 template <
typename Char>
23 return vformat_to<arg_formatter<range>>(
27 template <
typename Char>
37 template <
typename S,
typename Char = FMT_CHAR(S)>
39 const std::locale &loc,
const S &format_str,
44 template <
typename S,
typename... Args>
45 inline std::basic_string<FMT_CHAR(S)>
format(
46 const std::locale &loc,
const S &format_str,
const Args &... args) {
52 template <
typename String,
typename OutputIt,
typename... Args>
53 inline typename std::enable_if<internal::is_output_iterator<OutputIt>::value,
55 vformat_to(OutputIt out,
const std::locale &loc,
const String &format_str,
58 return vformat_to<arg_formatter<range>>(
62 template <
typename OutputIt,
typename S,
typename... Args>
63 inline typename std::enable_if<
66 format_to(OutputIt out,
const std::locale &loc,
const S &format_str,
67 const Args &... args) {
77 #endif // FMT_LOCALE_H_ std::enable_if< internal::is_output_iterator< OutputIt >::value, OutputIt >::type vformat_to(OutputIt out, const std::locale &loc, const String &format_str, typename format_args_t< OutputIt, typename char_t< String >::type >::type args)
#define FMT_END_NAMESPACE
std::enable_if< internal::is_string< S >::value &&internal::is_output_iterator< OutputIt >::value, OutputIt >::type format_to(OutputIt out, const std::locale &loc, const S &format_str, const Args &...args)
std::basic_string< Char > vformat(const std::locale &loc, const S &format_str, basic_format_args< typename buffer_context< Char >::type > args)
basic_buffer< char > buffer
string_view_t & to_string_view(spdlog::level::level_enum l) noexcept
std::string to_string(const T &value)
#define FMT_BEGIN_NAMESPACE
std::enable_if<!is_compile_string< S >::value >::type check_format_string(const S &)
std::basic_string< typename char_t< S >::type > format(const std::locale &loc, const S &format_str, const Args &...args)