Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e4f62483
Commit
e4f62483
authored
Sep 13, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/StringView: add default constructors
It was implicitly deleted since commit
db23c2f2
parent
8d9347ed
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
StringView.hxx
src/util/StringView.hxx
+1
-0
TStringView.hxx
src/util/TStringView.hxx
+2
-0
WStringView.hxx
src/util/WStringView.hxx
+1
-0
No files found.
src/util/StringView.hxx
View file @
e4f62483
...
@@ -113,6 +113,7 @@ struct BasicStringView : ConstBuffer<T> {
...
@@ -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
)
{}
};
};
...
...
src/util/TStringView.hxx
View file @
e4f62483
...
@@ -36,6 +36,7 @@
...
@@ -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 {
...
@@ -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
)
{}
};
};
...
...
src/util/WStringView.hxx
View file @
e4f62483
...
@@ -35,6 +35,7 @@
...
@@ -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
)
{}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment