- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Open
Labels
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-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(option_array_transpose)]
This is a tracking issue for the option_array_transpose.
This feature permits going from an [Option<T>; N] to Option<[T; N]>.
Public API
// core::option
impl<T, const N: usize> [Option<T>; N] {
    fn transpose(self) -> Option<[T; N]>;
}Steps / History
-  Implementation: Add [Option<T>; N]::transpose#130829
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- The operation is irreversible (contrary to the other transposemethods), should it be named differently? Add[Option<T>; N]::transpose#130829 (comment)
Footnotes
adriandelgado and VojtaStanek
Metadata
Metadata
Assignees
Labels
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-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.