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

FIX-896: product type support, convert range #914

Merged
merged 7 commits into from Sep 5, 2021

Conversation

DenisYaroshevskiy
Copy link
Collaborator

@DenisYaroshevskiy DenisYaroshevskiy commented Sep 4, 2021

Still no product type support so far.
I have implemented convert in a different way though which is a step.

  • introduced range_ref - a function that takes a reference to a range. By default just stores a pointer to the original one, if using non_owning = void is specified will copy by value. Generally speaking, it's enough to just make as_range non owning but it removes a bunch of extra type wrappers that don't do anything.
  • fixed the <=> bug. THere is no operator<=> for vector iterators, had to improvise.
  • Now support convert for any relaxed_iterator and relaxed_range, not just eve::algo::iterator
  • zip_range no longer has traits attached! Instead zip immediately converts all of the members.

This one will be fixed: #906
This one isn't be visible in any shape so far (after this patch): #880
There might be a case at some point, but it will need different traits for that. Let's wait for a usecase.

@DenisYaroshevskiy DenisYaroshevskiy merged commit cc33819 into develop Sep 5, 2021
@DenisYaroshevskiy DenisYaroshevskiy deleted the FIX-896/product_type_support_4 branch September 5, 2021 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] convert and traits support.
2 participants