/home/runner/work/slang/slang/include/slang/util/SmallMap.h file

Stack-allocated hash map and set.

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.