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
b282682b
Commit
b282682b
authored
Mar 16, 2020
by
Max Kellermann
Committed by
Max Kellermann
Aug 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use `using` instead of `typedef`
parent
ad00926e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
IterableSplitString.hxx
src/util/IterableSplitString.hxx
+4
-4
No files found.
src/util/IterableSplitString.hxx
View file @
b282682b
...
...
@@ -46,7 +46,7 @@ template<typename T>
class
BasicIterableSplitString
{
typedef
BasicStringView
<
T
>
StringView
;
typedef
typename
StringView
::
value_type
value_type
;
using
value_type
=
typename
StringView
::
value_type
;
StringView
s
;
value_type
separator
;
...
...
@@ -89,7 +89,7 @@ public:
}
public
:
typedef
std
::
forward_iterator_tag
iterator_category
;
using
iterator_category
=
std
::
forward_iterator_tag
;
Iterator
&
operator
++
()
{
Next
();
...
...
@@ -113,8 +113,8 @@ public:
}
};
typedef
Iterator
i
terator
;
typedef
Iterator
const_i
terator
;
using
iterator
=
I
terator
;
using
const_iterator
=
I
terator
;
const_iterator
begin
()
const
{
return
{
s
,
separator
};
...
...
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