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

Hash variadic/commutative arguments that ignores order. More...

#include <ivoter.hpp>

Collaboration diagram for opt::CommHasher:
Collaboration graph
[legend]

Public Member Functions

size_t operator() (const SegVArgs &args) const
 Return hash of arguments. More...
 

Public Attributes

OrdrHasher hasher_
 Internal ordered hasher used against normalized commutative args. More...
 

Detailed Description

Hash variadic/commutative arguments that ignores order.

Member Function Documentation

◆ operator()()

size_t opt::CommHasher::operator() ( const SegVArgs args) const
inline

Return hash of arguments.

Member Data Documentation

◆ hasher_

OrdrHasher opt::CommHasher::hasher_

Internal ordered hasher used against normalized commutative args.


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