Skip to content

Commit

Permalink
Merge pull request #1330 from msimberg/require-started-added-in-version
Browse files Browse the repository at this point in the history
Use `versionadded` directive in rst to document `require_started` version
  • Loading branch information
msimberg authored Nov 14, 2024
2 parents c8275ee + 0409a26 commit 28d528f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ All sender adaptors are `customization point objects (CPOs)

.. doxygenvariable:: pika::execution::experimental::require_started

.. versionadded:: 0.21.0

.. literalinclude:: ../examples/documentation/require_started_documentation.cpp
:language: c++
:start-at: #include
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,6 @@ namespace pika {
/// operation state has not been started.
/// The operation state of a \p require_started sender is allowed to not be started if it
/// has been explicitly requested with the \p discard member function.
///
/// Added in 0.21.0.
inline constexpr require_started_t require_started{};

} // namespace execution::experimental
Expand Down

0 comments on commit 28d528f

Please sign in to comment.