Skip to content

Commit

Permalink
Remove unused is_receiver_cpo_v
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Jan 20, 2025
1 parent 6c9a529 commit eef0497
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions libs/pika/execution_base/include/pika/execution_base/receiver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,31 +209,6 @@ namespace pika::execution::experimental {
} // namespace pika::execution::experimental
#endif

namespace pika::execution::experimental::detail {
template <typename CPO>
struct is_receiver_cpo : std::false_type
{
};

template <>
struct is_receiver_cpo<set_value_t> : std::true_type
{
};

template <>
struct is_receiver_cpo<set_error_t> : std::true_type
{
};

template <>
struct is_receiver_cpo<set_stopped_t> : std::true_type
{
};

template <typename CPO>
inline constexpr bool is_receiver_cpo_v = is_receiver_cpo<CPO>::value;
} // namespace pika::execution::experimental::detail

#if !defined(PIKA_STDEXEC_RECEIVER_CONCEPT)
# define PIKA_STDEXEC_RECEIVER_CONCEPT using is_receiver = void;
#endif

0 comments on commit eef0497

Please sign in to comment.