Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete deprecated headers #538

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Delete deprecated headers #538

merged 1 commit into from
Jun 12, 2023

Conversation

ispeters
Copy link
Contributor

This diff removes the following deprecated headers:

  • <unifex/execute.hpp> (use spawn_detached())
  • <unifex/ready_done_sender.hpp> (use just_done())
  • <unifex/submit.hpp> (use spawn_detached())`
  • <unifex/via.hpp> (use typed_via())
  • <unifex/via_stream.pp> (use typed_via_stream())

This diff removes the following deprecated headers:
 - `<unifex/execute.hpp>` (use `spawn_detached()`)
 - `<unifex/ready_done_sender.hpp>` (use `just_done()`)
 - `<unifex/submit.hpp>` (use `spawn_detached()`)`
 - `<unifex/via.hpp>` (use `typed_via()`)
 - `<unifex/via_stream.pp>` (use `typed_via_stream()`)
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2023
@ispeters ispeters merged commit 5daf47f into main Jun 12, 2023
@ispeters ispeters deleted the delete_deprecated_headers branch June 12, 2023 20:06
ispeters added a commit that referenced this pull request Jun 25, 2023
PR #538 deleted `unifex::via()`, which was an untyped _Sender_
algorithm, and changed all uses to use `unifex::typed_via()` instead.
This diff recreates the `via.hpp` header; it now defines the "typed via"
algorithm under the name `unifex::via()`. At the same time, this diff
changes `unifex::typed_via` to be a deprecated alias for the `via`
algorithm.
ispeters added a commit that referenced this pull request Jun 25, 2023
PR #538 deleted `unifex::via_stream()`, which was an untyped _Stream_ algorithm,
and changed all uses to use `unifex::typed_via_stream()` instead. This diff
recreates the `via_stream.hpp` header; it now defines the "typed via stream"
algorithm under the name `unifex::via_stream()`. At the same time, this diff
changes `unifex::typed_via_stream` to be a deprecated alias for the `via_stream`
algorithm.
@ispeters ispeters mentioned this pull request Jun 25, 2023
ispeters added a commit that referenced this pull request Jul 3, 2023
This builds on PRs #538 and #539 to remove the concept of "untyped" _Senders_ and thus stop calling any _Senders_ "typed" (they're all typed).
 - #539 made `typed_sender<S>` an alias for `sender<S>` so now I can replace all uses of `typed_sender<>` with `sender<>` and deprecate `typed_sender<>`.
 - In the same spirit as #539, there's no need to refer to bulk _Senders_ as "typed" so I've renamed `typed_bulk_sender<>` to `bulk_sender<>` and deprecated `typed_bulk_sender<>`.
 - There's no need to call it `typed_via()` so `via()` now means what `typed_via()` meant and we retain `typed_via()` as a deprecated alias for `via()`.
 - Similarly for `typed_via_stream()`, `via_stream()` now means what `typed_via_stream()` meant and we retain `typed_via_stream()` as a deprecated alias for `via_stream()`.
 - I'm also deleting three things from `sender_concepts.hpp` that have been deprecated for a long time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants