Skip to content

[range.utility.conv.to] Reuse container-compatible-range in ranges​::​to? #8523

@hewillk

Description

@hewillk

[range.utility.conv.to]:

It seems like:

If C does not satisfy input_range or convertible_to<range_reference_t<R>, range_value_t<C>> is true:

can be replaced with:

If C does not satisfy input_range or R satisfy container-compatible-range<range_value_t<C>>:

But it doesn't seem necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-OtherTriaged issue not in P1 or P2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions