mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Remove unnecessary part
This commit is contained in:
parent
4caa154aa5
commit
541d3e5def
@ -447,20 +447,6 @@ namespace detail
|
||||
static size_t const size = Count;
|
||||
};
|
||||
|
||||
template<size_t Count, typename Args, typename Pack, typename Next>
|
||||
struct multiple_result_maker<Count, Args, Pack, Next>
|
||||
: public multiple_result_maker<
|
||||
Count + 1,
|
||||
typename concat_identities<
|
||||
Args,
|
||||
typename unary_chainer_t<Next, _ATy...>::callback_arguments_t
|
||||
>::type,
|
||||
typename concat_identities_as_pack<
|
||||
Pack,
|
||||
typename unary_chainer_t<Next, _ATy...>::callback_arguments_t
|
||||
>::type
|
||||
> { };
|
||||
|
||||
template<size_t Count, typename Args, typename Pack, typename Next, typename... Rest>
|
||||
struct multiple_result_maker<Count, Args, Pack, Next, Rest...>
|
||||
: public multiple_result_maker<
|
||||
|
||||
3
test.cpp
3
test.cpp
@ -239,7 +239,8 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
std::function<Continuable<bool>()>,
|
||||
decltype(CastSpellPromise(2)),
|
||||
decltype(TrivialPromise()),
|
||||
std::function<Continuable<float, double>()>
|
||||
std::function<Continuable<float, double>()>,
|
||||
std::function<Continuable<>()>
|
||||
|
||||
> maker;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user