playrho::LexicographicalLess< T > Struct Template Reference

Function object for performing lexicographical less-than comparisons of containers. More...

#include <Templates.hpp>

Public Member Functions

constexpr bool operator() (const T &lhs, const T &rhs) const
 Checks whether the first argument is lexicographically less-than the second argument. More...
 

Detailed Description

template<typename T>
struct playrho::LexicographicalLess< T >

Function object for performing lexicographical less-than comparisons of containers.

See also
http://en.cppreference.com/w/cpp/algorithm/lexicographical_compare
http://en.cppreference.com/w/cpp/utility/functional/less

Definition at line 385 of file Templates.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr bool playrho::LexicographicalLess< T >::operator() ( const T &  lhs,
const T &  rhs 
) const
inlineconstexpr

Checks whether the first argument is lexicographically less-than the second argument.

Definition at line 389 of file Templates.hpp.


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