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

#include <genesis/utils/math/bitvector.hpp>

Detailed Description

template<>
struct std::hash< genesis::utils::Bitvector >

Specialization of std::hash for the Bitvector class.

It uses Bitvector::hash() for the hashing. See also BitvectorHash for an alternative class that does the same, but resides in the same namespace as Bitvector, and see BitvectorXhash for a variant that uses Bitvector::x_hash() instead as the hashing function.

Definition at line 396 of file bitvector.hpp.

Public Member Functions

std::size_t operator() (genesis::utils::Bitvector const &value) const
 

Member Function Documentation

◆ operator()()

std::size_t operator() ( genesis::utils::Bitvector const &  value) const
inline

Definition at line 398 of file bitvector.hpp.


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