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

#include <genesis/taxonomy/taxopath.hpp>

Detailed Description

template<>
struct std::hash< genesis::taxonomy::Taxopath >

Hash function for Taxopath.

We just forward to the hash of the internal data of a Taxopath, that is, we hash its strings.

Definition at line 396 of file taxopath.hpp.

Public Member Functions

result_type operator() (argument_type const &t) const
 

Public Types

using argument_type = genesis::taxonomy::Taxopath
 
using result_type = std::size_t
 

Member Function Documentation

◆ operator()()

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

Definition at line 401 of file taxopath.hpp.

Member Typedef Documentation

◆ argument_type

Definition at line 398 of file taxopath.hpp.

◆ result_type

using result_type = std::size_t

Definition at line 399 of file taxopath.hpp.


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