Open CASCADE Technology 7.8.2.dev
NCollection_AccAllocator::Hasher Class Reference

Key hasher. More...

#include <NCollection_AccAllocator.hxx>

Public Member Functions

size_t operator() (const Key theKey) const noexcept
 Returns hash code for the given key.
 
bool operator() (const Key theKey1, const Key theKey2) const noexcept
 

Detailed Description

Key hasher.

Member Function Documentation

◆ operator()() [1/2]

size_t NCollection_AccAllocator::Hasher::operator() ( const Key theKey) const
inlinenoexcept

Returns hash code for the given key.

Parameters
theKeythe key which hash code is to be computed
Returns
a computed hash code

◆ operator()() [2/2]

bool NCollection_AccAllocator::Hasher::operator() ( const Key theKey1,
const Key theKey2 ) const
inlinenoexcept

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