libboxes
boxes is a set of specialised containers built on top of STL
Public Member Functions | List of all members
boxes::hash::HashWithSeedFamily< HashT > Class Template Reference

Abstracts a hash family functor that requires a seed n times with different seed. More...

#include <hash_utils.hpp>

Public Member Functions

 HashWithSeedFamily (std::size_t n)
 Defines a hash family functor that uses a given hash functor requiring a seed and instantiates it n times with random seeds. More...
 

Detailed Description

template<Hash64 HashT>
class boxes::hash::HashWithSeedFamily< HashT >

Abstracts a hash family functor that requires a seed n times with different seed.

Template Parameters
HashTtype of the hash functor

Definition at line 203 of file hash_utils.hpp.

Constructor & Destructor Documentation

◆ HashWithSeedFamily()

template<Hash64 HashT>
boxes::hash::HashWithSeedFamily< HashT >::HashWithSeedFamily ( std::size_t  n)
inlineexplicit

Defines a hash family functor that uses a given hash functor requiring a seed and instantiates it n times with random seeds.

Parameters
nnumber of hash functions in the family

Definition at line 211 of file hash_utils.hpp.


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