util/StringView: add struct WStringView
This commit is contained in:
parent
5dbdd36263
commit
01f84b0e53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user