Skip to content

Commit

Permalink
Merge pull request #1121 from NVIDIA/simple-compl-sigs-of
Browse files Browse the repository at this point in the history
simplify the needlessly-complex `__get_completion_signatures_of_t`
  • Loading branch information
ericniebler authored Oct 26, 2023
2 parents e0b55ce + 0e4f514 commit 2996ca5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/stdexec/execution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,7 @@ namespace stdexec {
__mexception< _UNRECOGNIZED_SENDER_TYPE_<>, _WITH_SENDER_<_Sender>, _WITH_ENVIRONMENT_<_Env>>;

template <class _Sender, class _Env>
using __completion_signatures_of_t = __minvoke<
__mtry_catch<
__mbind_front_q<__call_result_t, get_completion_signatures_t>,
__q<__unrecognized_sender_error>>,
_Sender,
_Env>;
using __completion_signatures_of_t = __call_result_t<get_completion_signatures_t, _Sender, _Env>;

/////////////////////////////////////////////////////////////////////////////
// [execution.receivers]
Expand Down

0 comments on commit 2996ca5

Please sign in to comment.