Tenncor
Public Member Functions | List of all members
opt::OrdrHasher Struct Referencefinal

Hash voter arguments while preserving order of arguments. More...

#include <ivoter.hpp>

Public Member Functions

size_t operator() (const VoterArgsT &args) const
 Return hash of arguments. More...
 
void hash_combine (size_t &seed, const VoterArgsT &args) const
 Apply boost::hash_combine for each argument. More...
 

Detailed Description

Hash voter arguments while preserving order of arguments.

Member Function Documentation

◆ hash_combine()

void opt::OrdrHasher::hash_combine ( size_t &  seed,
const VoterArgsT args 
) const
inline

Apply boost::hash_combine for each argument.

◆ operator()()

size_t opt::OrdrHasher::operator() ( const VoterArgsT args) const
inline

Return hash of arguments.


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