Ranges copy wchar_t
This commit is contained in:
parent
24c9751558
commit
3d6053e25c
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user