-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Milestone
Description
Feature gate: #![feature(const_collections_with_hasher)]
This is a tracking issue for making HashMap::with_hasher
and HashSet::with_hasher
const
.
Public API
// std::collections
impl<K, V, S> HashMap<K, V, S> {
pub const fn with_hasher(hash_builder: S) -> HashMap<K, V, S> { ... }
}
impl<T, S> HashSet<T, S> {
pub const fn with_hasher(hasher: S) -> HashSet<T, S> { ... }
}
Steps / History
- Implementation: Make Hash{Set,Map}::with_hasher unstably const #102574
- Final comment period (FCP)1
- Stabilization PR ( const-stabilize HashMap/HashSet::with_hasher (+ required compiller changes) #118427)
Unresolved Questions
- None yet.
Footnotes
nrot, KisaragiEffective, recmo, orzogc and joseluisa1phyr
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.