This commit is contained in:
Naios 2015-06-19 00:04:29 +02:00
parent 51a0886ac2
commit ac169af4d3

View File

@ -271,20 +271,20 @@ namespace detail
} }
template<typename... _CTy> template<typename... _CTy>
static void _all(_CTy&&...) _ContinuableImpl& _all(_CTy&&...)
{ {
typedef multiple_all_chainer<_CTy...> type; typedef multiple_all_chainer<_CTy...> type;
return *this;
} }
/// Placeholder /// Placeholder
template<typename... _CTy> template<typename... _CTy>
_ContinuableImpl& all(_CTy&&... functionals) auto all(_CTy&&... functionals)
-> decltype((_ContinuableImpl*)(nullptr)->
_all(box_continuable(std::forward<_CTy>(std::declval<_CTy>))...))
{ {
typedef multiple_all_chainer<_CTy...> type; return _all(box_continuable(std::forward<_CTy>(functionals))...);
_all(box_continuable(std::forward<_CTy>(functionals))...);
return *this;
} }
/// Placeholder /// Placeholder