@@ -104,13 +104,11 @@ namespace experimental::execution
104104 return std::make_pair (static_cast <Shape>(begin), static_cast <Shape>(end));
105105 }
106106
107- #if !STDEXEC_NO_STDCPP_RANGES()
108107 namespace schedule_all_
109108 {
110109 template <class Range >
111110 class sequence ;
112111 } // namespace schedule_all_
113- #endif
114112
115113 struct task_base
116114 {
@@ -267,7 +265,6 @@ namespace experimental::execution
267265 _static_thread_pool& pool_;
268266 };
269267
270- #if !STDEXEC_NO_STDCPP_RANGES()
271268 struct _transform_iterate
272269 {
273270 template <class Range >
@@ -278,7 +275,6 @@ namespace experimental::execution
278275
279276 _static_thread_pool& pool_;
280277 };
281- #endif
282278
283279 static auto _hardware_concurrency () noexcept -> unsigned int
284280 {
@@ -316,7 +312,6 @@ namespace experimental::execution
316312 }
317313 }
318314
319- #if !STDEXEC_NO_STDCPP_RANGES()
320315 template <sender_for<exec::iterate_t > Sender, class Env >
321316 constexpr auto
322317 transform_sender (STDEXEC::set_value_t , Sender&& sndr, Env const & env) const noexcept
@@ -340,7 +335,6 @@ namespace experimental::execution
340335 STDEXEC::_WITH_ENVIRONMENT_ (Env)>();
341336 }
342337 }
343- #endif
344338 };
345339
346340 public:
@@ -1578,7 +1572,6 @@ namespace experimental::execution
15781572 {}
15791573 };
15801574
1581- #if !STDEXEC_NO_STDCPP_RANGES()
15821575 namespace schedule_all_
15831576 {
15841577 template <class Rcvr >
@@ -1832,14 +1825,11 @@ namespace experimental::execution
18321825 } // namespace schedule_all_
18331826
18341827 struct schedule_all_t ;
1835- #endif
18361828 } // namespace _pool_
18371829
18381830 struct static_thread_pool : private _pool_ ::_static_thread_pool
18391831 {
1840- #if !STDEXEC_NO_STDCPP_RANGES()
18411832 friend struct _pool_ ::schedule_all_t ;
1842- #endif
18431833 using task_base = _pool_::task_base;
18441834
18451835 static_thread_pool () = default ;
@@ -1872,7 +1862,6 @@ namespace experimental::execution
18721862 using _pool_::_static_thread_pool::params;
18731863 };
18741864
1875- #if !STDEXEC_NO_STDCPP_RANGES()
18761865 namespace _pool_
18771866 {
18781867 struct schedule_all_t
@@ -1887,7 +1876,6 @@ namespace experimental::execution
18871876 } // namespace _pool_
18881877
18891878 inline constexpr _pool_::schedule_all_t schedule_all{};
1890- #endif
18911879
18921880} // namespace experimental::execution
18931881
0 commit comments