Skip to content

Commit 025c004

Browse files
committed
back out pseudo-reflection-based __completion_info for now
1 parent 8bb5cc2 commit 025c004

3 files changed

Lines changed: 211 additions & 455 deletions

File tree

include/stdexec/__detail/__completion_info.hpp

Lines changed: 0 additions & 170 deletions
This file was deleted.

include/stdexec/__detail/__get_completion_signatures.hpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import stdexec;
2727

2828
// include these after __execution_fwd.hpp
2929
# include "__awaitable.hpp"
30-
# include "__completion_info.hpp"
3130
# include "__completion_signatures.hpp" // IWYU pragma: export
3231
# include "__connect_awaitable.hpp"
3332
# include "__diagnostics.hpp"
@@ -36,10 +35,6 @@ import stdexec;
3635
# include "__tag_invoke.hpp"
3736
# include "__tuple.hpp" // IWYU pragma: keep for __tuple
3837

39-
# if !STDEXEC_USE_MODULES()
40-
# include <algorithm>
41-
# endif
42-
4338
# include "__prologue.hpp"
4439

4540
namespace STDEXEC
@@ -512,18 +507,6 @@ namespace STDEXEC
512507
template <class _Tag, class _Sender, class... _Env>
513508
using __count_of =
514509
__msize_t<__detail::__count_of<_Tag, __completion_signatures_of_t<_Sender, _Env...>>>;
515-
516-
template <class _Sender, class... _Env>
517-
consteval auto __get_completion_info()
518-
{
519-
auto __cmplsigs = STDEXEC::get_completion_signatures<_Sender, _Env...>();
520-
STDEXEC_IF_OK(__cmplsigs)
521-
{
522-
auto __cmplinfo = STDEXEC::__cmplsigs::__to_array(__cmplsigs);
523-
std::ranges::for_each(__cmplinfo, &__completion_info::__populate<_Sender, _Env...>);
524-
return __cmplinfo;
525-
}
526-
}
527510
} // namespace STDEXEC
528511

529512
# include "__epilogue.hpp"

0 commit comments

Comments
 (0)