util/StringView: add struct WStringView
This commit is contained in:
@@ -47,3 +47,7 @@ BasicStringView<T>::StripRight() noexcept
|
||||
}
|
||||
|
||||
template struct BasicStringView<char>;
|
||||
|
||||
#ifdef _UNICODE
|
||||
template struct BasicStringView<wchar_t>;
|
||||
#endif
|
||||
|
@@ -114,4 +114,12 @@ struct StringView : BasicStringView<char> {
|
||||
using BasicStringView::BasicStringView;
|
||||
};
|
||||
|
||||
#ifdef _UNICODE
|
||||
|
||||
struct WStringView : BasicStringView<wchar_t> {
|
||||
using BasicStringView::BasicStringView;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user