-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
Tracking Issue for split_array #90091
Copy link
Copy link
Open
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
View all comments
Feature gate:
#![feature(split_array)]This is a tracking issue for splitting slices and arrays into constant-length arrays.
Public API
Similar functions for slices have already been stabilized as:
See #111774
Unresolved Questions
[T; N - M], like so:However, const generics is not powerful enough for this today. See #83233 (comment) and #83233 (comment).