18 template <
typename Char>
28 template <
typename S,
typename Char =
char_t<S>>
30 const std::locale& loc,
const S& format_str,
35 template <
typename S,
typename... Args,
typename Char =
char_t<S>>
36 inline std::basic_string<Char>
format(
const std::locale& loc,
37 const S& format_str, Args&&... args) {
39 fmt::make_args_checked<Args...>(format_str, args...));
42 template <
typename S,
typename OutputIt,
typename... Args,
46 OutputIt out,
const std::locale& loc,
const S& format_str,
53 template <
typename OutputIt,
typename S,
typename... Args,
55 inline auto format_to(OutputIt out,
const std::locale& loc,
56 const S& format_str, Args&&... args) ->
64 #endif // FMT_LOCALE_H_ #define FMT_BEGIN_NAMESPACE
std::basic_string< Char > format(const std::locale &loc, const S &format_str, Args &&... args)
auto make_args_checked(const S &format_str, const remove_reference_t< Args > &... args) -> format_arg_store< buffer_context< Char >, remove_reference_t< Args >... >
void vformat_to(buffer< Char > &buf, const text_style &ts, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
typename type_identity< T >::type type_identity_t
std::basic_string< Char > vformat(basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
#define FMT_END_NAMESPACE
#define FMT_ENABLE_IF(...)
typename detail::char_t_impl< S >::type char_t
auto get_iterator(Buffer &buf) -> decltype(buf.out())
OutputIt get_buffer_init(OutputIt out)
auto format_to(OutputIt out, const std::locale &loc, const S &format_str, Args &&... args) -> typename std::enable_if< enable, OutputIt >::type