Skip to content

suggestion: static iterator size trait #13

Description

@tpapp

I am proposing that another trait is added to IteratorSize2 to indicate that size is known statically, ie encoded in the result type.

Practical application is collecting into something like a StaticArrays.SArray or similar.

Bikeshedding the name is welcome, HasStaticLength and HasStaticShape could work.

Activity

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

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