GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::HashSet< Key, Hash, KeyEqual, Allocator > Class Template Reference

#include <GREM/core/data/HashSet.hpp>

Classes

class  iterator

Public Types

using key_type = Key
using value_type = Key
using reference = Key&
using const_reference = const Key&
using pointer = typename std::allocator_traits<Allocator>::pointer
using const_pointer = typename std::allocator_traits<Allocator>::const_pointer
using difference_type = std::ptrdiff_t
using size_type = std::size_t
using hasher = Hash
using key_equal = KeyEqual
using allocator_type = Allocator
using const_iterator = iterator

Public Member Functions

constexpr HashSet () noexcept=default
constexpr HashSet (size_type bucket_count, const Hash &hash=Hash(), const KeyEqual &equal=KeyEqual(), const Allocator &allocator=Allocator())
constexpr HashSet (size_type bucket_count, const Allocator &allocator)
constexpr HashSet (size_type bucket_count, const Hash &hash, const Allocator &allocator)
constexpr HashSet (const Allocator &allocator)
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
constexpr HashSet (InputIterator first, Sentinel last, size_type bucket_count=0, const Hash &hash=Hash(), const KeyEqual &equal=KeyEqual(), const Allocator &allocator=Allocator())
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
constexpr HashSet (InputIterator first, Sentinel last, size_type bucket_count, const Allocator &allocator)
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
constexpr HashSet (InputIterator first, Sentinel last, size_type bucket_count, const Hash &hash, const Allocator &allocator)
constexpr HashSet (std::initializer_list< value_type > ilist, size_type bucket_count=0, const Hash &hash=Hash(), const KeyEqual &equal=KeyEqual(), const Allocator &allocator=Allocator())
constexpr HashSet (std::initializer_list< value_type > ilist, size_type bucket_count, const Allocator &allocator=Allocator())
constexpr HashSet (std::initializer_list< value_type > ilist, size_type bucket_count, const Hash &hash=Hash(), const Allocator &allocator=Allocator())
constexpr HashSet (const HashSet &other)
constexpr HashSet (const HashSet &other, const Allocator &allocator)
constexpr HashSet (HashSet &&other) noexcept
constexpr HashSet (HashSet &&other, const Allocator &allocator) noexcept
constexpr ~HashSet ()
constexpr HashSet & operator= (const HashSet &other)
constexpr HashSet & operator= (HashSet &&other) noexcept
constexpr HashSet & operator= (std::initializer_list< value_type > ilist)
constexpr void swap (HashSet &other) noexcept(std::allocator_traits< Allocator >::is_always_equal::value)
constexpr void clear () noexcept
constexpr void reserve (size_type capacity)
constexpr Pair< iterator, bool > insert (const value_type &value)
constexpr Pair< iterator, bool > insert (value_type &&value)
template<typename P>
requires (std::is_constructible_v<value_type, P &&>)
constexpr Pair< iterator, bool > insert (P &&value)
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
constexpr void insert (InputIterator first, Sentinel last)
constexpr void insert (std::initializer_list< value_type > ilist)
template<typename R>
constexpr void insert_range (R &&r)
template<typename... Args>
constexpr Pair< iterator, bool > emplace (Args &&... args)
constexpr iterator erase (const_iterator pos)
constexpr iterator erase (const_iterator first, const_iterator last)
constexpr size_type erase (const Key &key)
template<typename K>
requires (IS_TRANSPARENT && !std::is_convertible_v<K, iterator> && !std::is_convertible_v<K, const_iterator>)
constexpr size_type erase (K &&x)
constexpr hasher hash_function () const
constexpr key_equal key_eq () const
constexpr allocator_type get_allocator () const noexcept
constexpr bool empty () const noexcept
constexpr size_type size () const noexcept
constexpr size_type max_size () const noexcept
constexpr bool contains (const Key &key) const
template<typename K>
requires (IS_TRANSPARENT)
constexpr bool contains (const K &x) const
constexpr size_type count (const Key &key) const
template<typename K>
requires (IS_TRANSPARENT)
constexpr size_type count (const K &x) const
constexpr iterator find (const Key &key)
constexpr const_iterator find (const Key &key) const
template<typename K>
requires (IS_TRANSPARENT)
constexpr iterator find (const K &x)
template<typename K>
requires (IS_TRANSPARENT)
constexpr const_iterator find (const K &x) const
constexpr iterator getIteratorAtIndex (size_type index)
constexpr const_iterator getIteratorAtIndex (size_type index) const
constexpr reference getAtIndex (size_type index)
constexpr const_reference getAtIndex (size_type index) const
constexpr Pair< iterator, iterator > equal_range (const Key &key)
constexpr Pair< const_iterator, const_iterator > equal_range (const Key &key) const
template<typename K>
requires (IS_TRANSPARENT)
constexpr Pair< iterator, iterator > equal_range (const K &x)
template<typename K>
requires (IS_TRANSPARENT)
constexpr Pair< const_iterator, const_iterator > equal_range (const K &x) const
constexpr iterator begin () noexcept
constexpr const_iterator begin () const noexcept
constexpr const_iterator cbegin () const noexcept
constexpr iterator end () noexcept
constexpr const_iterator end () const noexcept
constexpr const_iterator cend () const noexcept
constexpr bool operator== (const HashSet &other) const
constexpr bool operator< (const HashSet &other) const
constexpr bool operator<= (const HashSet &other) const
constexpr bool operator> (const HashSet &other) const
constexpr bool operator>= (const HashSet &other) const

Friends

constexpr void swap (HashSet &a, HashSet &b) noexcept(noexcept(a.swap(b)))
template<typename Predicate>
constexpr size_type erase_if (HashSet &c, Predicate predicate)

Member Typedef Documentation

◆ key_type

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::key_type = Key

◆ value_type

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::value_type = Key

◆ reference

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::reference = Key&

◆ const_reference

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::const_reference = const Key&

◆ pointer

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::pointer = typename std::allocator_traits<Allocator>::pointer

◆ const_pointer

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::const_pointer = typename std::allocator_traits<Allocator>::const_pointer

◆ difference_type

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::difference_type = std::ptrdiff_t

◆ size_type

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::size_type = std::size_t

◆ hasher

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::hasher = Hash

◆ key_equal

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::key_equal = KeyEqual

◆ allocator_type

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::allocator_type = Allocator

◆ const_iterator

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
using grem::HashSet< Key, Hash, KeyEqual, Allocator >::const_iterator = iterator

Constructor & Destructor Documentation

◆ HashSet() [1/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( )
constexprdefaultnoexcept

◆ HashSet() [2/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( size_type bucket_count,
const Hash & hash = Hash(),
const KeyEqual & equal = KeyEqual(),
const Allocator & allocator = Allocator() )
inlineexplicitconstexpr

◆ HashSet() [3/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( size_type bucket_count,
const Allocator & allocator )
inlineconstexpr

◆ HashSet() [4/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( size_type bucket_count,
const Hash & hash,
const Allocator & allocator )
inlineconstexpr

◆ HashSet() [5/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( const Allocator & allocator)
inlineexplicitconstexpr

◆ HashSet() [6/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( InputIterator first,
Sentinel last,
size_type bucket_count = 0,
const Hash & hash = Hash(),
const KeyEqual & equal = KeyEqual(),
const Allocator & allocator = Allocator() )
inlineconstexpr

◆ HashSet() [7/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( InputIterator first,
Sentinel last,
size_type bucket_count,
const Allocator & allocator )
inlineconstexpr

◆ HashSet() [8/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( InputIterator first,
Sentinel last,
size_type bucket_count,
const Hash & hash,
const Allocator & allocator )
inlineconstexpr

◆ HashSet() [9/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( std::initializer_list< value_type > ilist,
size_type bucket_count = 0,
const Hash & hash = Hash(),
const KeyEqual & equal = KeyEqual(),
const Allocator & allocator = Allocator() )
inlineconstexpr

◆ HashSet() [10/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( std::initializer_list< value_type > ilist,
size_type bucket_count,
const Allocator & allocator = Allocator() )
inlineconstexpr

◆ HashSet() [11/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( std::initializer_list< value_type > ilist,
size_type bucket_count,
const Hash & hash = Hash(),
const Allocator & allocator = Allocator() )
inlineconstexpr

◆ HashSet() [12/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( const HashSet< Key, Hash, KeyEqual, Allocator > & other)
inlineconstexpr

◆ HashSet() [13/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( const HashSet< Key, Hash, KeyEqual, Allocator > & other,
const Allocator & allocator )
inlineconstexpr

◆ HashSet() [14/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( HashSet< Key, Hash, KeyEqual, Allocator > && other)
inlineconstexprnoexcept

◆ HashSet() [15/15]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::HashSet ( HashSet< Key, Hash, KeyEqual, Allocator > && other,
const Allocator & allocator )
inlineconstexprnoexcept

◆ ~HashSet()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
grem::HashSet< Key, Hash, KeyEqual, Allocator >::~HashSet ( )
inlineconstexpr

Member Function Documentation

◆ operator=() [1/3]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
HashSet & grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator= ( const HashSet< Key, Hash, KeyEqual, Allocator > & other)
inlineconstexpr

◆ operator=() [2/3]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
HashSet & grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator= ( HashSet< Key, Hash, KeyEqual, Allocator > && other)
inlineconstexprnoexcept

◆ operator=() [3/3]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
HashSet & grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator= ( std::initializer_list< value_type > ilist)
inlineconstexpr

◆ swap()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::swap ( HashSet< Key, Hash, KeyEqual, Allocator > & other)
inlineconstexprnoexcept

◆ clear()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::clear ( )
inlineconstexprnoexcept

◆ reserve()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::reserve ( size_type capacity)
inlineconstexpr

◆ insert() [1/5]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
Pair< iterator, bool > grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert ( const value_type & value)
inlineconstexpr

◆ insert() [2/5]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
Pair< iterator, bool > grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert ( value_type && value)
inlineconstexpr

◆ insert() [3/5]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename P>
requires (std::is_constructible_v<value_type, P &&>)
Pair< iterator, bool > grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert ( P && value)
inlineconstexpr

◆ insert() [4/5]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<std::input_iterator InputIterator, std::sentinel_for< InputIterator > Sentinel>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert ( InputIterator first,
Sentinel last )
inlineconstexpr

◆ insert() [5/5]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert ( std::initializer_list< value_type > ilist)
inlineconstexpr

◆ insert_range()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename R>
void grem::HashSet< Key, Hash, KeyEqual, Allocator >::insert_range ( R && r)
inlineconstexpr

◆ emplace()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename... Args>
Pair< iterator, bool > grem::HashSet< Key, Hash, KeyEqual, Allocator >::emplace ( Args &&... args)
inlineconstexpr

◆ erase() [1/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::erase ( const_iterator pos)
inlineconstexpr

◆ erase() [2/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::erase ( const_iterator first,
const_iterator last )
inlineconstexpr

◆ erase() [3/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::erase ( const Key & key)
inlineconstexpr

◆ erase() [4/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT && !std::is_convertible_v<K, iterator> && !std::is_convertible_v<K, const_iterator>)
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::erase ( K && x)
inlineconstexpr

◆ hash_function()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
hasher grem::HashSet< Key, Hash, KeyEqual, Allocator >::hash_function ( ) const
inlinenodiscardconstexpr

◆ key_eq()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
key_equal grem::HashSet< Key, Hash, KeyEqual, Allocator >::key_eq ( ) const
inlinenodiscardconstexpr

◆ get_allocator()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
allocator_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::get_allocator ( ) const
inlinenodiscardconstexprnoexcept

◆ empty()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::empty ( ) const
inlinenodiscardconstexprnoexcept

◆ size()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::size ( ) const
inlinenodiscardconstexprnoexcept

◆ max_size()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::max_size ( ) const
inlinenodiscardconstexprnoexcept

◆ contains() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::contains ( const Key & key) const
inlinenodiscardconstexpr

◆ contains() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::contains ( const K & x) const
inlinenodiscardconstexpr

◆ count() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::count ( const Key & key) const
inlinenodiscardconstexpr

◆ count() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
size_type grem::HashSet< Key, Hash, KeyEqual, Allocator >::count ( const K & x) const
inlinenodiscardconstexpr

◆ find() [1/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::find ( const Key & key)
inlinenodiscardconstexpr

◆ find() [2/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::find ( const Key & key) const
inlinenodiscardconstexpr

◆ find() [3/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::find ( const K & x)
inlinenodiscardconstexpr

◆ find() [4/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::find ( const K & x) const
inlinenodiscardconstexpr

◆ getIteratorAtIndex() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::getIteratorAtIndex ( size_type index)
inlinenodiscardconstexpr

◆ getIteratorAtIndex() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::getIteratorAtIndex ( size_type index) const
inlinenodiscardconstexpr

◆ getAtIndex() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
reference grem::HashSet< Key, Hash, KeyEqual, Allocator >::getAtIndex ( size_type index)
inlinenodiscardconstexpr

◆ getAtIndex() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_reference grem::HashSet< Key, Hash, KeyEqual, Allocator >::getAtIndex ( size_type index) const
inlinenodiscardconstexpr

◆ equal_range() [1/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
Pair< iterator, iterator > grem::HashSet< Key, Hash, KeyEqual, Allocator >::equal_range ( const Key & key)
inlinenodiscardconstexpr

◆ equal_range() [2/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
Pair< const_iterator, const_iterator > grem::HashSet< Key, Hash, KeyEqual, Allocator >::equal_range ( const Key & key) const
inlinenodiscardconstexpr

◆ equal_range() [3/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
Pair< iterator, iterator > grem::HashSet< Key, Hash, KeyEqual, Allocator >::equal_range ( const K & x)
inlinenodiscardconstexpr

◆ equal_range() [4/4]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename K>
requires (IS_TRANSPARENT)
Pair< const_iterator, const_iterator > grem::HashSet< Key, Hash, KeyEqual, Allocator >::equal_range ( const K & x) const
inlinenodiscardconstexpr

◆ begin() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::begin ( )
inlinenodiscardconstexprnoexcept

◆ begin() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::begin ( ) const
inlinenodiscardconstexprnoexcept

◆ cbegin()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::cbegin ( ) const
inlinenodiscardconstexprnoexcept

◆ end() [1/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::end ( )
inlinenodiscardconstexprnoexcept

◆ end() [2/2]

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::end ( ) const
inlinenodiscardconstexprnoexcept

◆ cend()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
const_iterator grem::HashSet< Key, Hash, KeyEqual, Allocator >::cend ( ) const
inlinenodiscardconstexprnoexcept

◆ operator==()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator== ( const HashSet< Key, Hash, KeyEqual, Allocator > & other) const
inlinenodiscardconstexpr

◆ operator<()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator< ( const HashSet< Key, Hash, KeyEqual, Allocator > & other) const
inlinenodiscardconstexpr

◆ operator<=()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator<= ( const HashSet< Key, Hash, KeyEqual, Allocator > & other) const
inlinenodiscardconstexpr

◆ operator>()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator> ( const HashSet< Key, Hash, KeyEqual, Allocator > & other) const
inlinenodiscardconstexpr

◆ operator>=()

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
bool grem::HashSet< Key, Hash, KeyEqual, Allocator >::operator>= ( const HashSet< Key, Hash, KeyEqual, Allocator > & other) const
inlinenodiscardconstexpr

◆ swap

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
void swap ( HashSet< Key, Hash, KeyEqual, Allocator > & a,
HashSet< Key, Hash, KeyEqual, Allocator > & b )
friend

◆ erase_if

template<typename Key, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, typename Allocator = std::allocator<Key>>
template<typename Predicate>
size_type erase_if ( HashSet< Key, Hash, KeyEqual, Allocator > & c,
Predicate predicate )
friend

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