Merge back_insert_iterator and appender

This commit is contained in:
Victor Zverovich
2024-01-07 18:43:27 -08:00
parent f348d1a211
commit 48d7fb265b
3 changed files with 24 additions and 55 deletions
+3 -3
View File
@@ -46,9 +46,9 @@ struct format_string_char<S, enable_if_t<is_compile_string<S>::value>> {
template <typename S>
using format_string_char_t = typename format_string_char<S>::type;
inline auto write_loc(back_insert_iterator<detail::buffer<wchar_t>> out,
loc_value value, const format_specs<wchar_t>& specs,
locale_ref loc) -> bool {
inline auto write_loc(basic_appender<wchar_t> out, loc_value value,
const format_specs<wchar_t>& specs, locale_ref loc)
-> bool {
#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
auto& numpunct =
std::use_facet<std::numpunct<wchar_t>>(loc.get<std::locale>());