Skip to content

Generalize to all RangeBounds impls? #107

@Kinrany

Description

@Kinrany

Superficially it seems like the rangemap type could be generic over the range types by using standard RangeBounds. This would allow both dropping RangeMapInclusive and using custom range types.

The main reason for having custom range types is the well-known design flaws of the standard range types, such as not being Copy.

For a specific use case, I have a collection of various date, time and datetime ranges that rely on chrono and provide extra utility functions.

Has this been explored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions