KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
std::cmp_func< T, Less > Struct Template Reference

A templated function class like strcmp: returns -1 if a<b, 0 if a==b, 1 if a>b. More...

#include <cmp_func.h>

Public Member Functions

int operator() (const T &a, const T &b)
 

Public Attributes

Less lessFunc
 

Detailed Description

template<class T, class Less = less<T>>
struct std::cmp_func< T, Less >

A templated function class like strcmp: returns -1 if a<b, 0 if a==b, 1 if a>b.


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