-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Tracking issue for placement new #27779
Copy link
Copy link
Closed
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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-langRelevant to the language teamRelevant to the language teamT-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.
Metadata
Metadata
Assignees
Labels
B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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-langRelevant to the language teamRelevant to the language teamT-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for the unstable
placement_new_protocolfeature in the standard library, andplacement_in_syntax/box_syntaxin the compiler.(@pnkfelix adds below:)
Things to decide / finalize before stabilization:
in PLACE { BLOCK }vsPLACE <- EXPR. (See Place left arrow syntax (place <- expr) rfcs#1228 )&mut selfvsselffor thePlacer::make_place(Placement protocol should not consume Placer rfcs#1286).box EXPRpart of this? (currently the desugaring doesn't work due to type inference issues).PlaceforInPlaceandBoxPlace, or just have theInPlacetrait independently from anyBoxPlace.