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

[ranges] Reuse bidirectional-common concept? #6633

Open
hewillk opened this issue Oct 24, 2023 · 0 comments
Open

[ranges] Reuse bidirectional-common concept? #6633

hewillk opened this issue Oct 24, 2023 · 0 comments

Comments

@hewillk
Copy link
Contributor

hewillk commented Oct 24, 2023

[range.join.with.view] defines what seems to me to be a fairly general concept:

template<class R>
  concept bidirectional-common = bidirectional_range<R> && common_range<R>;    // exposition only

However, it is only used in the join_with_view section.

Should we expose it to [ranges] to simplify spellings used elsewhere like bidirectional_range<R> && common_range<R>?
Perhaps we can also create another one such as random-access-sized to simplify constraints.

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

No branches or pull requests

1 participant