util/StringView: add default constructors
It was implicitly deleted since commit
db23c2f27b
This commit is contained in:
parent
8d9347edc5
commit
e4f62483ff
@ -113,6 +113,7 @@ struct BasicStringView : ConstBuffer<T> {
|
|||||||
struct StringView : BasicStringView<char> {
|
struct StringView : BasicStringView<char> {
|
||||||
using BasicStringView::BasicStringView;
|
using BasicStringView::BasicStringView;
|
||||||
|
|
||||||
|
StringView() = default;
|
||||||
constexpr StringView(BasicStringView<value_type> src) noexcept
|
constexpr StringView(BasicStringView<value_type> src) noexcept
|
||||||
:BasicStringView(src) {}
|
:BasicStringView(src) {}
|
||||||
};
|
};
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
struct TStringView : WStringView {
|
struct TStringView : WStringView {
|
||||||
using WStringView::WStringView;
|
using WStringView::WStringView;
|
||||||
|
|
||||||
|
TStringView() = default;
|
||||||
constexpr TStringView(WStringView src) noexcept
|
constexpr TStringView(WStringView src) noexcept
|
||||||
:WStringView(src) {}
|
:WStringView(src) {}
|
||||||
};
|
};
|
||||||
@ -46,6 +47,7 @@ struct TStringView : WStringView {
|
|||||||
struct TStringView : StringView {
|
struct TStringView : StringView {
|
||||||
using StringView::StringView;
|
using StringView::StringView;
|
||||||
|
|
||||||
|
TStringView() = default;
|
||||||
constexpr TStringView(StringView src) noexcept
|
constexpr TStringView(StringView src) noexcept
|
||||||
:StringView(src) {}
|
:StringView(src) {}
|
||||||
};
|
};
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
struct WStringView : BasicStringView<wchar_t> {
|
struct WStringView : BasicStringView<wchar_t> {
|
||||||
using BasicStringView::BasicStringView;
|
using BasicStringView::BasicStringView;
|
||||||
|
|
||||||
|
WStringView() = default;
|
||||||
constexpr WStringView(BasicStringView<value_type> src) noexcept
|
constexpr WStringView(BasicStringView<value_type> src) noexcept
|
||||||
:BasicStringView(src) {}
|
:BasicStringView(src) {}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user