Closed
Description
Feature gate: #![feature(const_hash)]
This is a tracking issue for constructing "hashers" in const conext.
Public API
// std::collections::hash
impl DefaultHasher {
pub const fn new() -> DefaultHasher;
}
impl SipHasher {
#[deprecated]
pub const fn new() -> SipHasher;
#[deprecated]
pub const fn new_with_keys(key0: u64, key1: u64) -> SipHasher;
}
impl SipHasher13 {
#[deprecated]
pub const fn new() -> SipHasher;
#[deprecated]
pub const fn new_with_keys(key0: u64, key1: u64) -> SipHasher;
}
Steps / History
- Implementation: Make
Hash
,Hasher
andBuildHasher
#[const_trait]
and makeSip
constHasher
#104060 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.