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

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

Inherits binary_function< std::string, std::string, bool >.

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 89 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 90 of file string.hpp.


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