From 95432267f3dd07e981b1ebc3efeab735a051fc23 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Mon, 20 Apr 2026 12:44:24 -0700 Subject: [PATCH] rename `__dependent_sender` to more descriptive `__throw_dependent_sender_error` --- include/exec/fork_join.hpp | 2 +- include/exec/sequence_senders.hpp | 2 +- include/stdexec/__detail/__basic_sender.hpp | 2 +- include/stdexec/__detail/__completion_signatures.hpp | 8 ++++---- include/stdexec/__detail/__get_completion_signatures.hpp | 2 +- include/stdexec/__detail/__let.hpp | 2 +- include/stdexec/__detail/__when_all.hpp | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/exec/fork_join.hpp b/include/exec/fork_join.hpp index 735d08d76..cd58ccc1f 100644 --- a/include/exec/fork_join.hpp +++ b/include/exec/fork_join.hpp @@ -310,7 +310,7 @@ namespace experimental::execution::__fork_join } else if constexpr (sizeof...(Env) == 0) { - return STDEXEC::__dependent_sender(); + return STDEXEC::__throw_dependent_sender_error(); } else { diff --git a/include/exec/sequence_senders.hpp b/include/exec/sequence_senders.hpp index 9d1d5ef61..734586180 100644 --- a/include/exec/sequence_senders.hpp +++ b/include/exec/sequence_senders.hpp @@ -340,7 +340,7 @@ namespace experimental::execution } else if constexpr (sizeof...(_Env) == 0) { - return STDEXEC::__dependent_sender_r, _Sequence>(); + return STDEXEC::__throw_dependent_sender_error_r, _Sequence>(); } else { diff --git a/include/stdexec/__detail/__basic_sender.hpp b/include/stdexec/__detail/__basic_sender.hpp index 44fdf8a6b..972b4b4c8 100644 --- a/include/stdexec/__detail/__basic_sender.hpp +++ b/include/stdexec/__detail/__basic_sender.hpp @@ -365,7 +365,7 @@ namespace STDEXEC } else if constexpr (sizeof...(_Env) == 0) { - return __dependent_sender<_Self>(); + return __throw_dependent_sender_error<_Self>(); } else { diff --git a/include/stdexec/__detail/__completion_signatures.hpp b/include/stdexec/__detail/__completion_signatures.hpp index 1a864218f..db05d2f5e 100644 --- a/include/stdexec/__detail/__completion_signatures.hpp +++ b/include/stdexec/__detail/__completion_signatures.hpp @@ -554,14 +554,14 @@ namespace STDEXEC template [[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 [[nodiscard]] - consteval auto __dependent_sender() noexcept -> __dependent_sender_error_t<_Sndr> + consteval auto __throw_dependent_sender_error() noexcept -> __dependent_sender_error_t<_Sndr> { return {}; } @@ -572,14 +572,14 @@ namespace STDEXEC template [[noreturn, nodiscard]] - consteval auto __dependent_sender_r() -> _Result + consteval auto __throw_dependent_sender_error_r() -> _Result { throw __dependent_sender_error_t<_Sndr>{}; } template [[noreturn, nodiscard]] - consteval auto __dependent_sender() -> completion_signatures<> + consteval auto __throw_dependent_sender_error() -> completion_signatures<> { throw __dependent_sender_error_t<_Sndr>{}; } diff --git a/include/stdexec/__detail/__get_completion_signatures.hpp b/include/stdexec/__detail/__get_completion_signatures.hpp index a08aef357..116280a42 100644 --- a/include/stdexec/__detail/__get_completion_signatures.hpp +++ b/include/stdexec/__detail/__get_completion_signatures.hpp @@ -210,7 +210,7 @@ namespace STDEXEC } else { - return STDEXEC::__dependent_sender<_Sender>(); + return STDEXEC::__throw_dependent_sender_error<_Sender>(); } } diff --git a/include/stdexec/__detail/__let.hpp b/include/stdexec/__detail/__let.hpp index c0c00b034..b911aee38 100644 --- a/include/stdexec/__detail/__let.hpp +++ b/include/stdexec/__detail/__let.hpp @@ -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; } diff --git a/include/stdexec/__detail/__when_all.hpp b/include/stdexec/__detail/__when_all.hpp index a11e82eaf..5e9dfa2f3 100644 --- a/include/stdexec/__detail/__when_all.hpp +++ b/include/stdexec/__detail/__when_all.hpp @@ -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 {