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
697680b9
Commit
697680b9
authored
Dec 20, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function `broker::from`
parent
35c394b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
libcaf_io/caf/io/broker.hpp
libcaf_io/caf/io/broker.hpp
+0
-15
No files found.
libcaf_io/caf/io/broker.hpp
View file @
697680b9
...
...
@@ -264,21 +264,6 @@ class broker : public extend<local_actor>::
void
enqueue
(
const
actor_addr
&
,
message_id
,
message
,
execution_unit
*
)
override
;
template
<
class
F
>
static
broker_ptr
from
(
F
fun
)
{
// transform to STD function here, because GCC is unable
// to select proper overload otherwise ...
using
fres
=
decltype
(
fun
(
static_cast
<
broker
*>
(
nullptr
)));
std
::
function
<
fres
(
broker
*
)
>
stdfun
{
std
::
move
(
fun
)};
return
from_impl
(
std
::
move
(
stdfun
));
}
template
<
class
F
,
typename
T
,
class
...
Ts
>
static
broker_ptr
from
(
F
fun
,
T
&&
v
,
Ts
&&
...
vs
)
{
return
from
(
std
::
bind
(
fun
,
std
::
placeholders
::
_1
,
std
::
forward
<
T
>
(
v
),
std
::
forward
<
Ts
>
(
vs
)...));
}
/**
* Closes all connections and acceptors.
*/
...
...
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