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
a6fad679
Commit
a6fad679
authored
Jul 06, 2015
by
ufownl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `typed_response_promise`
parent
7eacc32a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
libcaf_core/caf/detail/ctm.hpp
libcaf_core/caf/detail/ctm.hpp
+3
-3
libcaf_core/caf/typed_response_promise.hpp
libcaf_core/caf/typed_response_promise.hpp
+3
-3
No files found.
libcaf_core/caf/detail/ctm.hpp
View file @
a6fad679
...
...
@@ -60,9 +60,9 @@ struct ctm_cmp<typed_mpi<In, Out, empty_type_list>,
typed_mpi
<
In
,
type_list
<
typed_continue_helper
<
Out
>>
,
empty_type_list
>>
:
std
::
true_type
{
};
template
<
class
In
,
class
Out
>
struct
ctm_cmp
<
typed_mpi
<
In
,
Out
,
empty_type_list
>
,
typed_mpi
<
In
,
type_list
<
typed_response_promise
<
Out
>>
,
empty_type_list
>>
template
<
class
In
,
class
...
Ts
>
struct
ctm_cmp
<
typed_mpi
<
In
,
type_list
<
Ts
...
>
,
empty_type_list
>
,
typed_mpi
<
In
,
type_list
<
typed_response_promise
<
Ts
...
>>
,
empty_type_list
>>
:
std
::
true_type
{
};
template
<
class
In
,
class
L
,
class
R
>
...
...
libcaf_core/caf/typed_response_promise.hpp
View file @
a6fad679
...
...
@@ -25,7 +25,7 @@
namespace
caf
{
template
<
class
T
>
template
<
class
...
Ts
>
class
typed_response_promise
{
public:
typed_response_promise
(
response_promise
promise
)
:
promise_
(
promise
)
{
...
...
@@ -37,8 +37,8 @@ public:
return
static_cast
<
bool
>
(
promise_
);
}
void
deliver
(
T
what
)
const
{
promise_
.
deliver
(
make_message
(
std
::
move
(
what
)));
void
deliver
(
T
s
...
what
)
const
{
promise_
.
deliver
(
make_message
(
std
::
move
(
what
)
...
));
}
...
...
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