Commit 9e7df54c authored by Max Kellermann's avatar Max Kellermann

Util/StringView: add struct TStringView

parent db23c2f2
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment