Skip to content

Tracking issue for Box::{into_raw, from_raw} #27768

@alexcrichton

Description

@alexcrichton
Member

This is a tracking issue for the box_raw unstable feature in the standard library. These methods are functionally ready to go but may need to settle on some names. Other candidates (like those that CString chose) are into_ptr and from_ptr. These shouldn't be stabilized until they're consistent across the board.

Activity

added
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.
B-unstableBlocker: Implemented in the nightly compiler and unstable.
on Aug 12, 2015
Gankra

Gankra commented on Aug 12, 2015

@Gankra
Contributor

My vote is for into_raw, solely for the purpose of indicating that it's safely round-trippable.

It wouldn't be a tragedy to settle on into_ptr.

added
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
on Aug 13, 2015
added
final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
on Aug 14, 2015
alexcrichton

alexcrichton commented on Aug 14, 2015

@alexcrichton
MemberAuthor

This feature is now entering its final comment period for stabilization.

added a commit that references this issue on Sep 13, 2015
cedbd99
added this to the 1.3 milestone on Sep 18, 2015
modified the milestones: 1.4, 1.3 on Oct 1, 2015
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

    B-unstableBlocker: Implemented in the nightly compiler and unstable.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @steveklabnik@alexcrichton@Gankra

      Issue actions

        Tracking issue for Box::{into_raw, from_raw} · Issue #27768 · rust-lang/rust