open-cpp-utils 0.0.1
Loading...
Searching...
No Matches
open_cpp_utils::hash_table< T, Hash, Alloc > Class Template Reference

Classes

class  const_iterator
 
class  iterator
 

Public Types

using value_type = T
 
using pointer = T*
 
using const_pointer = const T*
 
using reference = T&
 
using const_reference = const T&
 
using hash_type = Hash
 
using allocator_type = typename std::allocator_traits<Alloc>::template rebind_alloc<_Node>
 
using size_type = size_t
 
using iterator_type = class iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 hash_table (std::initializer_list< value_type > data)
 
 hash_table (const hash_table &)
 
 hash_table (hash_table &&)=default
 
void reserve (size_t size)
 
void clear ()
 
void insert (const_reference x)
 
void erase (const_reference x)
 
bool contains (const_reference x)
 
iterator find (const_reference x)
 
const_iterator find (const_reference x) const
 
size_type capacity () const
 
size_type size () const
 
bool empty () const
 
double occupancy () const
 

Friends

class iterator
 

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