Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
255c1c7c
Commit
255c1c7c
authored
Apr 05, 2022
by
Dominik Charousset
Committed by
Dominik Charousset
May 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence deprecation warning
(cherry picked from commit
bd86505d
)
parent
0facd386
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
libcaf_core/caf/input_range.hpp
libcaf_core/caf/input_range.hpp
+14
-3
No files found.
libcaf_core/caf/input_range.hpp
View file @
255c1c7c
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
#pragma once
#pragma once
#include <iterator>
#include "caf/detail/type_traits.hpp"
#include "caf/detail/type_traits.hpp"
#include <cstddef>
#include <iterator>
namespace
caf
{
namespace
caf
{
template
<
class
T
>
template
<
class
T
>
...
@@ -21,8 +22,18 @@ public:
...
@@ -21,8 +22,18 @@ public:
input_range
(
const
input_range
&
)
=
default
;
input_range
(
const
input_range
&
)
=
default
;
input_range
&
operator
=
(
const
input_range
&
)
=
default
;
input_range
&
operator
=
(
const
input_range
&
)
=
default
;
class
iterator
:
public
std
::
iterator
<
std
::
input_iterator_tag
,
T
>
{
class
iterator
{
public:
public:
using
iterator_category
=
std
::
input_iterator_tag
;
using
value_type
=
T
;
using
difference_type
=
ptrdiff_t
;
using
pointer
=
T
*
;
using
reference
=
T
&
;
iterator
(
input_range
*
range
)
:
xs_
(
range
)
{
iterator
(
input_range
*
range
)
:
xs_
(
range
)
{
if
(
xs_
)
if
(
xs_
)
advance
();
advance
();
...
...
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