LLVM: llvm::hash_code Class Reference (original) (raw)

An opaque object representing a hash code. More...

#include "[llvm/ADT/Hashing.h](Hashing%5F8h%5Fsource.html)"

Public Member Functions

An opaque object representing a hash code.

This object represents the result of hashing some entity. It is intended to be used to implement hashtables or other hashing-based data structures. While it wraps and exposes a numeric value, this value should not be trusted to be stable or predictable across processes or executions.

In order to obtain the hash_code for an object 'x':

An opaque object representing a hash code.

friend size_t hash_value(const hash_code &code)

Allow a hash_code to be directly run through hash_value.

hash_code hash_value(const FixedPointSemantics &Val)

Definition at line 76 of file Hashing.h.

llvm::hash_code::hash_code ( ) default

hash_code() [2/2]

llvm::hash_code::hash_code ( size_t value) inline

Form a hash code directly from a numerical value.

Definition at line 85 of file Hashing.h.

operator size_t()

llvm::hash_code::operator size_t ( ) const inline

Convert the hash code to its numerical value for use.

Definition at line 88 of file Hashing.h.

hash_value

Allow a hash_code to be directly run through hash_value.

Definition at line 98 of file Hashing.h.

References hash_code().

operator!=

operator==


The documentation for this class was generated from the following file: