Skip to content

Struct std::hash< astrea::trace::IdPair >

template <>

ClassList > std > hash< astrea::trace::IdPair >

Specialization of std::hash for IdPair to allow it to be used as a key in hash-based containers.

  • #include <IdPair.hpp>

Public Functions

Type Name
std::size_t operator() (const astrea::trace::IdPair & k) const
Computes a hash value for an IdPair.

Public Functions Documentation

function operator()

Computes a hash value for an IdPair.

inline std::size_t std::hash< astrea::trace::IdPair >::operator() (
    const astrea::trace::IdPair & k
) const

Parameters:

  • k The IdPair to hash.

Returns:

A hash value for the IdPair.



The documentation for this class was generated from the following file astrea/trace/trace/types/IdPair.hpp