A library for working with phylogenetic and population genetic data.
v0.32.0
NaturalLess< T > Struct Template Reference

#include <genesis/utils/text/string.hpp>

Detailed Description

template<class T = std::string>
struct genesis::utils::NaturalLess< T >

Functor class to compare to strings with natural "human" sorting, see compare_natural().

Definition at line 225 of file string.hpp.

Public Member Functions

bool operator() (T const &lhs, T const &rhs) const
 

Member Function Documentation

◆ operator()()

bool operator() ( T const &  lhs,
T const &  rhs 
) const
inline

Definition at line 226 of file string.hpp.


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