diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 0ebf9652..4c04f9ea 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -67,6 +67,12 @@ OutputIterator copy(char ch, OutputIterator out) { return out; } +template +OutputIterator copy(wchar_t ch, OutputIterator out) { + *out++ = ch; + return out; +} + /// Return true value if T has std::string interface, like std::string_view. template class is_like_std_string { template