Util/StringView: add struct TStringView
This commit is contained in:
parent
db23c2f27b
commit
9e7df54ccd
@ -126,6 +126,22 @@ struct WStringView : BasicStringView<wchar_t> {
|
||||
:BasicStringView(src) {}
|
||||
};
|
||||
|
||||
struct TStringView : WStringView {
|
||||
using WStringView::WStringView;
|
||||
|
||||
constexpr TStringView(WStringView src) noexcept
|
||||
:WStringView(src) {}
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
struct TStringView : StringView {
|
||||
using StringView::StringView;
|
||||
|
||||
constexpr TStringView(StringView src) noexcept
|
||||
:StringView(src) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user