util/StringView: add struct WStringView

This commit is contained in:
Max Kellermann
2017-09-12 17:13:45 +02:00
parent 5dbdd36263
commit 01f84b0e53
2 changed files with 12 additions and 0 deletions

View File

@@ -114,4 +114,12 @@ struct StringView : BasicStringView<char> {
using BasicStringView::BasicStringView;
};
#ifdef _UNICODE
struct WStringView : BasicStringView<wchar_t> {
using BasicStringView::BasicStringView;
};
#endif
#endif