mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
test
This commit is contained in:
parent
1a69686f82
commit
d11c564f7f
@ -440,8 +440,9 @@ namespace detail
|
|||||||
static_assert(std::is_rvalue_reference<_CTy&&>::value,
|
static_assert(std::is_rvalue_reference<_CTy&&>::value,
|
||||||
"Given continuable must be passed as r-value!");
|
"Given continuable must be passed as r-value!");
|
||||||
|
|
||||||
std::function<typename std::decay<_CTy>::type(_ATy...)> returning_function
|
std::function<typename std::decay<_CTy>::type(_ATy...)> returning_function;
|
||||||
= continuable_returner<_CTy, _ATy...>(std::forward<_CTy>(continuable));
|
|
||||||
|
continuable_returner<_CTy, _ATy...> returner(std::forward<_CTy>(continuable));
|
||||||
|
|
||||||
return std::move(returning_function);
|
return std::move(returning_function);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user