Skip to content

Tracking Towards 2.0 #126

Closed
Closed
@Lokathor

Description

@Lokathor

In 2.0 we want to use const generics so that ArrayVec is available for far more lengths than just the handful of lengths we declare.

  • The main snag is that we need to be able to Default the array. This requires either that Default be implemented for any array length (seems far out, if at all?) or we need to have array_map become stable. If array_map becomes stable you just write [(); N].map(|()| T::default() ) and move on with life.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions