ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Methods | List of all members
HashSetAccess< TStored > Struct Template Reference

#include <hashset.hpp>

Class Description

template<typename TStored>
struct aworx::lib::monomem::detail::HashSetAccess< TStored >

Helper struct used for implementing HashSet. This type is used as template parameter TAccess of HashTable.

Template Parameters
TStoredThe object type stored in the set, which is the same as the key type.

Definition at line 25 of file hashset.hpp.

Public Methods

TStored & Key (TStored &src) const
 
void Mapped (TStored &) const
 

Member Function Documentation

◆ Key()

TStored& Key ( TStored &  src) const
inline

Returns the given src as is.

Parameters
srcThe value of the element to hash.
Returns
The key-portion of the stored value.

Definition at line 30 of file hashset.hpp.

◆ Mapped()

void Mapped ( TStored &  ) const
inline

This will never be called.

Definition at line 36 of file hashset.hpp.


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