Skip to content

Tracking Issue for const_binary_heap_new_in #125961

Open

Description

Feature gate: #![feature(const_binary_heap_new_in)]

This is a tracking issue for constification of BinaryHeap::new_in, which allows user to create a BinaryHeap in compile-time with a specific allocator.

NOTE: This feature depends on the unstable feature allocator_api

Public API

impl<T: Ord, A: Allocator> BinaryHeap<T, A> {
    pub const fn new_in(alloc: A) -> BinaryHeap<T, A> {}
}

Steps / History

Unresolved Questions

  • None yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: A tracking issue for an RFC or an unstable feature.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions