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
5c1c33ec
You need to sign in or sign up before continuing.
Commit
5c1c33ec
authored
Feb 21, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `make_source` overload without handshake args
parent
68a8290e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
libcaf_core/caf/scheduled_actor.hpp
libcaf_core/caf/scheduled_actor.hpp
+10
-0
No files found.
libcaf_core/caf/scheduled_actor.hpp
View file @
5c1c33ec
...
...
@@ -430,6 +430,16 @@ public:
std
::
move
(
done
),
std
::
move
(
xs
));
}
template
<
class
...
Ts
,
class
Init
,
class
Pull
,
class
Done
,
class
Scatterer
=
broadcast_scatterer
<
typename
stream_source_trait_t
<
Pull
>
::
output
>
,
class
Trait
=
stream_source_trait_t
<
Pull
>>
output_stream
<
typename
Trait
::
output
,
detail
::
decay_t
<
Ts
>
...
>
make_source
(
Init
init
,
Pull
pull
,
Done
done
,
policy
::
arg
<
Scatterer
>
scatterer_type
=
{})
{
return
make_source
(
std
::
make_tuple
(),
init
,
pull
,
done
,
scatterer_type
);
}
template
<
class
Driver
,
class
Input
,
class
...
Ts
>
stream_result
<
typename
Driver
::
output_type
>
make_sink
(
const
stream
<
Input
>&
in
,
Ts
&&
...
xs
)
{
...
...
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