Tracking Issue for fn const BuildHasherDefault::new() #123197
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(build_hasher_default_const_new)]
This is a tracking issue for a new
new
class method for BuildHasherDefault. It allows creating a BuildHasherDefault in const contexts.Because HashMap::with_hasher constness is being stabilized in #118427 this will in turn allow creating empty
HashMap<K,V,BuildHasherDefault<H>>
in const context for anyH: Default + Hasher
.Public API
Steps / History
Unresolved Questions
@rustbot claim
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: