slang/util/Hash.h file

General hashing algorithms.

Namespaces

namespace slang
Root namespace.

Classes

template<typename K, typename V, size_t N, typename Entry = std::pair<const K, V>, typename Alloc = detail::hashing::StackAllocator<Entry, N* sizeof(Entry)>>
class slang::SmallMap
A hash map container that allocates room for its first N elements on the stack.
template<typename T, size_t N, typename Alloc = detail::hashing::StackAllocator<T, N* sizeof(T)>>
class slang::SmallSet
A hash set container that allocates room for its first N elements on the stack.

Functions

template<typename T, typename... Rest>
void hash_combine(size_t& seed, const T& v, Rest... rest)
Hash combining function, based on the function from Boost.