#include <bsa/detail/common.hpp>
template<class U>
index_t class final
A proxy value used to facilitate the usage/chaining of hashmap::
Constructors
- index_t() defaulted noexcept
- Constructs an empty index.
Lookup
-
template<class K>auto operator[](K&& a_key) const noexcept
- Indexes the stored index with the given key.
Member types
-
using pointer = value_
type* -
using reference = value_
type& - using value_type = U
Observers
- operator bool() const explicit noexcept
- Checks if the current index is valid.
- auto operator*() const -> reference noexcept
- Obtains a reference to the currently held index.
- auto operator->() const -> pointer noexcept
- Obtains a pointer to the currently held index.
Function documentation
template<class U>
template<class K>
auto bsa:: components:: hashmap:: index_t<U>:: operator[](K&& a_key) const noexcept
template<class K>
Indexes the stored index with the given key.
template<class U>
pointer bsa:: components:: hashmap:: index_t<U>:: operator->() const noexcept
Obtains a pointer to the currently held index.