mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-02 06:20:09 +00:00
Make symbols readable
This commit is contained in:
parent
f867d08239
commit
7755cdc199
@ -1077,7 +1077,12 @@ class basic_format_args {
|
||||
}
|
||||
};
|
||||
|
||||
typedef basic_format_args<context> format_args;
|
||||
// This is a separate type rather than a typedef to make symbols readable.
|
||||
struct format_args: basic_format_args<context> {
|
||||
template <typename ...Args>
|
||||
format_args(Args && ... arg)
|
||||
: basic_format_args<context>(std::forward<Args>(arg)...) {};
|
||||
};
|
||||
typedef basic_format_args<wcontext> wformat_args;
|
||||
|
||||
namespace internal {
|
||||
|
@ -434,7 +434,8 @@ template char internal::thousands_sep(locale_provider *lp);
|
||||
|
||||
template void basic_fixed_buffer<char>::grow(std::size_t);
|
||||
|
||||
template void internal::arg_map<context>::init(const format_args &args);
|
||||
template void internal::arg_map<context>::init(
|
||||
const basic_format_args<context> &args);
|
||||
|
||||
template FMT_API int internal::char_traits<char>::format_float(
|
||||
char *buffer, std::size_t size, const char *format,
|
||||
|
Loading…
Reference in New Issue
Block a user