A library for working with phylogenetic and population genetic data.
v0.27.0
hash< genesis::utils::Bitvector > Struct Reference

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

Detailed Description

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 401 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 403 of file bitvector.hpp.


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