ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::base::hash_n 命名空间参考

struct  hash_t
 
struct  hash_value_t
 
struct  unstable_hash_value_t
 

概念

concept  is_unstable_hash
 
concept  is_fundamental_hash
 

类型定义

typedef size_t hash_base_t
 

函数

void the_pointer_hash () noexcept=delete
 
template<class T >
constexpr hash_value_t pointer_hash (T *a) noexcept
 

变量

struct elc::defs::base::hash_n::hash_t hash
 

类型定义说明

◆ hash_base_t

函数说明

◆ pointer_hash()

template<class T >
constexpr hash_value_t elc::defs::base::hash_n::pointer_hash ( T *  a)
inlineconstexprnoexcept

Computes the hash value of a pointer.

参数
aThe pointer to hash.
返回
The hash value of the pointer.

在文件 all_defs.cpp10871 行定义.

10871 {
10872 if constexpr(was_not_an_ill_form(the_pointer_hash(a)))
10873 return the_pointer_hash(a);
10874 else
10875 return{hash_base_t(a)};
10876 }
#define was_not_an_ill_form(...)
Definition all_defs.cpp:611
void the_pointer_hash() noexcept=delete
函数调用图:
这是这个函数的调用关系图:

◆ the_pointer_hash()

void elc::defs::base::hash_n::the_pointer_hash ( )
deletenoexcept
这是这个函数的调用关系图:

变量说明

◆ hash

struct elc::defs::base::hash_n::hash_t elc::defs::base::hash_n::hash