Skip to content

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

@ryanhaining

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]

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions