66
77#include < beman/execution/detail/spawn_get_allocator.hpp>
88#include < beman/execution/detail/as_tuple.hpp>
9- #include < beman/execution/detail/async_scope_token .hpp>
9+ #include < beman/execution/detail/scope_token .hpp>
1010#include < beman/execution/detail/completion_signatures_of_t.hpp>
1111#include < beman/execution/detail/connect_result_t.hpp>
1212#include < beman/execution/detail/default_impls.hpp>
@@ -111,10 +111,7 @@ using spawn_future_sigs = ::beman::execution::detail::meta::unique<::beman::exec
111111 ::beman::execution::set_stopped_t (),
112112 ::beman::execution::completion_signatures_of_t<::beman::execution::detail::future_spawned_sender<Sndr, Env>>>>;
113113
114- template <typename Allocator,
115- ::beman::execution::async_scope_token Token,
116- ::beman::execution::sender Sndr,
117- typename Env>
114+ template <typename Allocator, ::beman::execution::scope_token Token, ::beman::execution::sender Sndr, typename Env>
118115struct spawn_future_state
119116 : ::beman::execution::detail::spawn_future_state_base<::beman::execution::detail::spawn_future_sigs<Sndr, Env>> {
120117 using alloc_t = typename ::std::allocator_traits<Allocator>::template rebind_alloc<spawn_future_state>;
@@ -219,7 +216,7 @@ struct spawn_future_state
219216
220217class spawn_future_t {
221218 public:
222- template <::beman::execution::sender Sndr, ::beman::execution::async_scope_token Tok, typename Ev>
219+ template <::beman::execution::sender Sndr, ::beman::execution::scope_token Tok, typename Ev>
223220 requires ::beman::execution::detail::queryable<::std::remove_cvref_t <Ev>>
224221 auto operator ()(Sndr&& sndr, Tok&& tok, Ev&& ev) const {
225222 auto make{[&]() -> decltype (auto ) { // -dk:TODO why decltype(auto) instead of auto?
@@ -244,7 +241,7 @@ class spawn_future_t {
244241 using deleter = decltype ([](state_t * p) noexcept { p->abandon (); });
245242 return ::beman::execution::detail::make_sender (*this , ::std::unique_ptr<state_t , deleter>{op});
246243 }
247- template <::beman::execution::sender Sndr, ::beman::execution::async_scope_token Tok>
244+ template <::beman::execution::sender Sndr, ::beman::execution::scope_token Tok>
248245 auto operator ()(Sndr&& sndr, Tok&& tok) const {
249246 return (*this )(::std::forward<Sndr>(sndr), ::std::forward<Tok>(tok), ::beman::execution::empty_env{});
250247 }
0 commit comments