Skip to content

Update range() for additional features in python's range #55

Description

@ryanhaining

Give a range object r

  • r.start(), r.stop(), and r.stop() constexpr member functions to match the .start, .stop, and .step properties.
  • r.size() and r.length() to match len(r)
  • r[index]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions