Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/stdexec/__detail/__parallel_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace STDEXEC
class parallel_scheduler;
class __parallel_sender;

template <bool, sender _S, std::integral _Size, class _Fn, bool>
template <bool, sender _Sender, std::integral _Size, class _Fn, bool>
class __parallel_bulk_sender;

/// Returns a scheduler that can add work to the underlying execution context.
Expand Down
20 changes: 10 additions & 10 deletions include/stdexec/__detail/__stop_when.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,20 @@ namespace STDEXEC
template <class _Fn>
struct callback_type
{
template <class _C>
requires __std::constructible_from<_Fn, _C>
explicit callback_type(__fused_token&& __ftkn, _C&& __fn)
noexcept(__nothrow_constructible_from<_Fn, _C>)
: __fn_(static_cast<_C&&>(__fn))
template <class _Cb>
requires __std::constructible_from<_Fn, _Cb>
explicit callback_type(__fused_token&& __ftkn, _Cb&& __fn)
noexcept(__nothrow_constructible_from<_Fn, _Cb>)
: __fn_(static_cast<_Cb&&>(__fn))
, __cb1_(std::move(__ftkn.__tkn1_), __cb(this))
, __cb2_(std::move(__ftkn.__tkn2_), __cb(this))
{}

template <class _C>
requires __std::constructible_from<_Fn, _C>
explicit callback_type(__fused_token const & __ftkn, _C&& __fn)
noexcept(__nothrow_constructible_from<_Fn, _C>)
: __fn_(static_cast<_C&&>(__fn))
template <class _Cb>
requires __std::constructible_from<_Fn, _Cb>
explicit callback_type(__fused_token const & __ftkn, _Cb&& __fn)
noexcept(__nothrow_constructible_from<_Fn, _Cb>)
: __fn_(static_cast<_Cb&&>(__fn))
, __cb1_(__ftkn.__tkn1_, __cb(this))
, __cb2_(__ftkn.__tkn2_, __cb(this))
{}
Expand Down
Loading