AALanguage
The best language for those who have nothing to do
Loading...
Searching...
No Matches
FunctionHasher Class Reference

A helper class for hashing functions in standard std::unordered_map. More...

#include <TableIdentifiers.h>

Public Member Functions

std::size_t operator() (const Function &f) const
 Operator () for hashing.
 

Detailed Description

A helper class for hashing functions in standard std::unordered_map.

Definition at line 195 of file TableIdentifiers.h.

Member Function Documentation

◆ operator()()

std::size_t FunctionHasher::operator() ( const Function & f) const
inline

Operator () for hashing.

Hashes the types of the function arguments and the function name.

Parameters
fFunction for hashing
Returns
Hash value in unsigned size_t type.

Definition at line 206 of file TableIdentifiers.h.

References Function::identifiers, and Function::name.


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