Skip to content

[ranges] Reuse bidirectional-common concept? #6633

Open
@hewillk

Description

@hewillk

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions