Ranges copy wchar_t

This commit is contained in:
Cristi 2021-01-07 18:17:11 +02:00
parent 24c9751558
commit 3d6053e25c

View File

@ -67,6 +67,12 @@ OutputIterator copy(char ch, OutputIterator out) {
return out;
}
template <typename OutputIterator>
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 <typename T> class is_like_std_string {
template <typename U>