GCSIM
Classes | Variables
hash-map.hpp File Reference
#include <cstddef>
#include <stdexcept>
#include <utility>
#include <functional>
#include <type_traits>
#include "hash-map-entry.hpp"

Classes

class  hash_map< K, V, Hash >
 implementation of the hash_map; using constant number of buckets and chaining. More...
 

Variables

constexpr size_t DEFAULT_MAP_CAPACITY = 8
 initial number of buckets.
 
constexpr double MAX_LOAD_FACTOR = 0.75
 load factor for resizing.
 

Variable Documentation

◆ DEFAULT_MAP_CAPACITY

constexpr size_t DEFAULT_MAP_CAPACITY = 8
constexpr

initial number of buckets.

◆ MAX_LOAD_FACTOR

constexpr double MAX_LOAD_FACTOR = 0.75
constexpr

load factor for resizing.