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
61bc9bd5
Commit
61bc9bd5
authored
Sep 25, 2014
by
Marian Triebe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace `rm_const_and_ref` with `std::decay`
parent
a8570809
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
libcaf_opencl/caf/opencl/actor_facade.hpp
libcaf_opencl/caf/opencl/actor_facade.hpp
+1
-1
libcaf_opencl/caf/opencl/spawn_cl.hpp
libcaf_opencl/caf/opencl/spawn_cl.hpp
+1
-2
No files found.
libcaf_opencl/caf/opencl/actor_facade.hpp
View file @
61bc9bd5
...
@@ -56,7 +56,7 @@ class actor_facade<Ret(Args...)> : public abstract_actor {
...
@@ -56,7 +56,7 @@ class actor_facade<Ret(Args...)> : public abstract_actor {
public:
public:
using
args_tuple
=
using
args_tuple
=
cow_tuple
<
typename
detail
::
rm_const_and_ref
<
Args
>::
type
...
>
;
cow_tuple
<
typename
std
::
decay
<
Args
>::
type
...
>
;
using
arg_mapping
=
std
::
function
<
optional
<
args_tuple
>
(
message
)
>
;
using
arg_mapping
=
std
::
function
<
optional
<
args_tuple
>
(
message
)
>
;
using
result_mapping
=
std
::
function
<
message
(
Ret
&
)
>
;
using
result_mapping
=
std
::
function
<
message
(
Ret
&
)
>
;
...
...
libcaf_opencl/caf/opencl/spawn_cl.hpp
View file @
61bc9bd5
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "caf/optional.hpp"
#include "caf/optional.hpp"
#include "cppa/cow_tuple.hpp"
#include "cppa/cow_tuple.hpp"
#include "caf/detail/type_traits.hpp"
#include "caf/detail/limited_vector.hpp"
#include "caf/detail/limited_vector.hpp"
#include "caf/opencl/global.hpp"
#include "caf/opencl/global.hpp"
...
@@ -77,7 +76,7 @@ struct cl_spawn_helper<R(Ts...), void> {
...
@@ -77,7 +76,7 @@ struct cl_spawn_helper<R(Ts...), void> {
using
std
::
move
;
using
std
::
move
;
using
std
::
forward
;
using
std
::
forward
;
map_arg_fun
f0
=
[](
message
msg
)
{
map_arg_fun
f0
=
[](
message
msg
)
{
return
tuple_cast
<
typename
detail
::
rm_const_and_ref
<
return
tuple_cast
<
typename
std
::
decay
<
typename
carr_to_vec
<
Ts
>::
type
>::
type
...
>
(
msg
);
typename
carr_to_vec
<
Ts
>::
type
>::
type
...
>
(
msg
);
};
};
map_res_fun
f1
=
[](
result_type
&
result
)
{
map_res_fun
f1
=
[](
result_type
&
result
)
{
...
...
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