helics  3.5.2
Public Types | Public Member Functions | List of all members
std::hash< helics::IdentifierId< BaseType, ID, invalidValue > > Struct Template Reference

#include <helicsTypes.hpp>

Public Types

using argument_type = helics::IdentifierId< BaseType, ID, invalidValue >
 the type of object to hash
 
using result_type = std::size_t
 the result type of the hash code
 

Public Member Functions

result_type operator() (argument_type const &key) const noexcept
 

Detailed Description

template<typename BaseType, helics::Identifiers ID, BaseType invalidValue>
struct std::hash< helics::IdentifierId< BaseType, ID, invalidValue > >

custom hashing function for identifier types so they can be used in hash maps

Member Function Documentation

◆ operator()()

template<typename BaseType , helics::Identifiers ID, BaseType invalidValue>
result_type std::hash< helics::IdentifierId< BaseType, ID, invalidValue > >::operator() ( argument_type const &  key) const
inlinenoexcept

the actual hash operator


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