A toolkit for working with phylogenetic data.
v0.24.0
hash< genesis::utils::MD5::DigestType > Struct Template Reference

#include <genesis/utils/tools/hash/md5.hpp>

Detailed Description

template<>
struct std::hash< genesis::utils::MD5::DigestType >

Hash function for MD5 digestes.

Basically, we re-hash from 128 bit to 64 bit. This is ugly, but currently faster to implement than a custom container that uses the full hash width. Might work on this in the future.

Definition at line 241 of file md5.hpp.

Public Member Functions

result_type operator() (argument_type const &s) const
 

Public Types

using argument_type = genesis::utils::MD5::DigestType
 
using result_type = std::size_t
 

Member Function Documentation

◆ operator()()

result_type operator() ( argument_type const &  s) const
inline

Definition at line 247 of file md5.hpp.

Member Typedef Documentation

◆ argument_type

Definition at line 243 of file md5.hpp.

◆ result_type

using result_type = std::size_t

Definition at line 244 of file md5.hpp.


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