Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
folly
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
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
Libraries
folly
Commits
7f2c1167
Commit
7f2c1167
authored
Oct 16, 2018
by
Eric Niebler
Committed by
Facebook Github Bot
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebuild single header
fbshipit-source-id: 14539a960a9a34521b022c88ef296a7bbcfe7bb7
parent
0097bfef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
30 deletions
+27
-30
folly/experimental/pushmi/include/pushmi.h
folly/experimental/pushmi/include/pushmi.h
+27
-30
No files found.
folly/experimental/pushmi/include/pushmi.h
View file @
7f2c1167
...
...
@@ -3927,21 +3927,19 @@ struct any_time_executor_ref : detail::any_time_executor_ref_base<E, TP> {
////////////////////////////////////////////////////////////////////////////////
// make_any_time_executor_ref
PUSHMI_INLINE_VAR
constexpr
struct
make_any_time_executor_ref_fn
{
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
>
auto
operator
()()
const
{
return
any_time_executor_ref
<
E
,
TP
,
0
>
{};
}
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
,
class
Wrapped
>
auto
operator
()(
Wrapped
w
)
const
{
return
any_time_executor_ref
<
E
,
TP
,
0
>
{
std
::
move
(
w
)};
}
}
const
make_any_time_executor_ref
{};
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
>
auto
make_any_time_executor_ref
()
->
any_time_executor_ref
<
E
,
TP
>
{
return
any_time_executor_ref
<
E
,
TP
,
0
>
{};
}
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
,
class
Wrapped
>
auto
make_any_time_executor_ref
(
Wrapped
w
)
->
any_time_executor_ref
<
E
,
TP
>
{
return
any_time_executor_ref
<
E
,
TP
,
0
>
{
std
::
move
(
w
)};
}
////////////////////////////////////////////////////////////////////////////////
// deduction guides
...
...
@@ -3968,21 +3966,20 @@ struct any_time_executor :
////////////////////////////////////////////////////////////////////////////////
// make_any_time_executor
PUSHMI_INLINE_VAR
constexpr
struct
make_any_time_executor_fn
{
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
>
auto
operator
()()
const
{
return
any_time_executor
<
E
,
TP
>
{};
}
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
,
class
Wrapped
>
auto
operator
()(
Wrapped
w
)
const
{
return
any_time_executor
<
E
,
TP
>
{
std
::
move
(
w
)};
}
}
const
make_any_time_executor
{};
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
>
auto
make_any_time_executor
()
->
any_time_executor
<
E
,
TP
>
{
return
any_time_executor
<
E
,
TP
>
{};
}
template
<
class
E
=
std
::
exception_ptr
,
class
TP
=
std
::
chrono
::
system_clock
::
time_point
,
class
Wrapped
>
auto
make_any_time_executor
(
Wrapped
w
)
->
any_time_executor
<
E
,
TP
>
{
return
any_time_executor
<
E
,
TP
>
{
std
::
move
(
w
)};
}
////////////////////////////////////////////////////////////////////////////////
// deduction guides
...
...
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