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/exec/fork_join.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ namespace experimental::execution::__fork_join
}
else if constexpr (sizeof...(Env) == 0)
{
return STDEXEC::__dependent_sender<Self>();
return STDEXEC::__throw_dependent_sender_error<Self>();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion include/exec/sequence_senders.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ namespace experimental::execution
}
else if constexpr (sizeof...(_Env) == 0)
{
return STDEXEC::__dependent_sender_r<item_types<>, _Sequence>();
return STDEXEC::__throw_dependent_sender_error_r<item_types<>, _Sequence>();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion include/stdexec/__detail/__basic_sender.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ namespace STDEXEC
}
else if constexpr (sizeof...(_Env) == 0)
{
return __dependent_sender<_Self>();
return __throw_dependent_sender_error<_Self>();
}
else
{
Expand Down
8 changes: 4 additions & 4 deletions include/stdexec/__detail/__completion_signatures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,14 +554,14 @@ namespace STDEXEC

template <class, class _Sndr>
[[nodiscard]]
consteval auto __dependent_sender_r() noexcept -> __dependent_sender_error_t<_Sndr>
consteval auto __throw_dependent_sender_error_r() noexcept -> __dependent_sender_error_t<_Sndr>
{
return {};
}

template <class _Sndr>
[[nodiscard]]
consteval auto __dependent_sender() noexcept -> __dependent_sender_error_t<_Sndr>
consteval auto __throw_dependent_sender_error() noexcept -> __dependent_sender_error_t<_Sndr>
{
return {};
}
Expand All @@ -572,14 +572,14 @@ namespace STDEXEC

template <class _Result, class _Sndr>
[[noreturn, nodiscard]]
consteval auto __dependent_sender_r() -> _Result
consteval auto __throw_dependent_sender_error_r() -> _Result
{
throw __dependent_sender_error_t<_Sndr>{};
}

template <class _Sndr>
[[noreturn, nodiscard]]
consteval auto __dependent_sender() -> completion_signatures<>
consteval auto __throw_dependent_sender_error() -> completion_signatures<>
{
throw __dependent_sender_error_t<_Sndr>{};
}
Expand Down
2 changes: 1 addition & 1 deletion include/stdexec/__detail/__get_completion_signatures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ namespace STDEXEC
}
else
{
return STDEXEC::__dependent_sender<_Sender>();
return STDEXEC::__throw_dependent_sender_error<_Sender>();
}
}

Expand Down
2 changes: 1 addition & 1 deletion include/stdexec/__detail/__let.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ namespace STDEXEC
{
if constexpr (std::ranges::find(__cmpls2, __eptr_sig_id, __get_sig) == __cmpls2.end()
&& sizeof...(_Env) == 0)
return STDEXEC::__dependent_sender<_Child>();
return STDEXEC::__throw_dependent_sender_error<_Child>();
else
return __cmpls2;
}
Expand Down
2 changes: 1 addition & 1 deletion include/stdexec/__detail/__when_all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ namespace STDEXEC
}
else if constexpr (sizeof...(_Env) == 0)
{
return STDEXEC::__dependent_sender<_Self>();
return STDEXEC::__throw_dependent_sender_error<_Self>();
}
else
{
Expand Down
Loading