mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
Remove unnecessary part
This commit is contained in:
parent
352f7c8af0
commit
fc1314a672
@ -447,20 +447,6 @@ namespace detail
|
|||||||
static size_t const size = Count;
|
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>
|
template<size_t Count, typename Args, typename Pack, typename Next, typename... Rest>
|
||||||
struct multiple_result_maker<Count, Args, Pack, Next, Rest...>
|
struct multiple_result_maker<Count, Args, Pack, Next, Rest...>
|
||||||
: public multiple_result_maker<
|
: public multiple_result_maker<
|
||||||
|
|||||||
3
test.cpp
3
test.cpp
@ -239,7 +239,8 @@ int main(int /*argc*/, char** /*argv*/)
|
|||||||
std::function<Continuable<bool>()>,
|
std::function<Continuable<bool>()>,
|
||||||
decltype(CastSpellPromise(2)),
|
decltype(CastSpellPromise(2)),
|
||||||
decltype(TrivialPromise()),
|
decltype(TrivialPromise()),
|
||||||
std::function<Continuable<float, double>()>
|
std::function<Continuable<float, double>()>,
|
||||||
|
std::function<Continuable<>()>
|
||||||
|
|
||||||
> maker;
|
> maker;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user