Skip to content

Commit

Permalink
Merge pull request #1368 from aurianer/update_doxygen_set_value
Browse files Browse the repository at this point in the history
Fix the documentation for `set_value`
  • Loading branch information
msimberg authored Dec 10, 2024
2 parents 1072b44 + 02e3873 commit 36fcb56
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions libs/pika/execution_base/include/pika/execution_base/receiver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ namespace pika::execution::experimental {
namespace pika::execution::experimental {

# if defined(DOXYGEN)
/// set_value is a customization point object. The expression
/// `pika::execution::set_value(r, as...)` is equivalent to:
/// * `r.set_value(as...)`, if that expression is valid. If the function selected
/// does not send the value(s) `as...` to the Receiver `r`'s value channel,
/// the program is ill-formed (no diagnostic required).
/// * Otherwise, `set_value(r, as...), if that expression is valid, with
/// overload resolution performed in a context that include the declaration
/// `void set_value();`
/// * Otherwise, the expression is ill-formed.
///
/// The customization is implemented in terms of `pika::functional::detail::tag_invoke`.
template <typename R, typename... As>
void set_value(R&& r, As&&... as);

Expand Down

0 comments on commit 36fcb56

Please sign in to comment.