@@ -173,10 +173,10 @@ namespace stdexec {
173173 // understand where in a chain of senders the problem is occurring.
174174 //
175175 // ```c++
176- // template <class _Sigs, class _Env = empty_env , class _Sender>
176+ // template <class _Sigs, class _Env = env<> , class _Sender>
177177 // void __debug_sender(_Sender&& __sndr, _Env = {});
178178 //
179- // template <class _Env = empty_env , class _Sender>
179+ // template <class _Env = env<> , class _Sender>
180180 // void __debug_sender(_Sender&& __sndr, _Env = {});
181181 // ```
182182 //
@@ -205,7 +205,7 @@ namespace stdexec {
205205 // At least with clang, this gives me a nice backtrace, at the bottom of
206206 // which is the faulty `tag_invoke` overload with a mention of the
207207 // constraint that failed.
208- template <class _Sigs , class _Env = empty_env , class _Sender >
208+ template <class _Sigs , class _Env = env<> , class _Sender >
209209 void __debug_sender (_Sender&& __sndr, const _Env& = {}) {
210210 if constexpr (!__is_debug_env<_Env>) {
211211 if (sizeof (_Sender) == ~0u ) { // never true
@@ -220,7 +220,7 @@ namespace stdexec {
220220 }
221221 }
222222
223- template <class _Env = empty_env , class _Sender >
223+ template <class _Env = env<> , class _Sender >
224224 void __debug_sender (_Sender&& __sndr, const _Env& = {}) {
225225 if constexpr (!__is_debug_env<_Env>) {
226226 if (sizeof (_Sender) == ~0ul ) { // never true
0 commit comments