Make symbols readable

This commit is contained in:
Victor Zverovich 2018-03-04 14:46:24 -08:00
parent f867d08239
commit 7755cdc199
2 changed files with 8 additions and 2 deletions

View File

@ -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 {

View File

@ -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,