mn::container::internal::compare_func< TPair, TFunctor > Struct Template Reference

Internal helper for sorting. More...

#include <mn_sorted_vector.hpp>

Public Member Functions

bool operator() (const TPair &lhs, const TPair &rhs) const
 
bool operator() (const TPair &lhs, const typename TPair::first_type &rhs) const
 
bool operator() (const typename TPair::first_type &lhs, const TPair &rhs) const
 

Detailed Description

template<class TPair, class TFunctor>
struct mn::container::internal::compare_func< TPair, TFunctor >

Internal helper for sorting.

Template Parameters
TPairThe pair
TFunctorThe sort function

Member Function Documentation

◆ operator()() [1/3]

template<class TPair , class TFunctor >
bool mn::container::internal::compare_func< TPair, TFunctor >::operator() ( const TPair &  lhs,
const TPair &  rhs 
) const
inline

◆ operator()() [2/3]

template<class TPair , class TFunctor >
bool mn::container::internal::compare_func< TPair, TFunctor >::operator() ( const TPair &  lhs,
const typename TPair::first_type &  rhs 
) const
inline

◆ operator()() [3/3]

template<class TPair , class TFunctor >
bool mn::container::internal::compare_func< TPair, TFunctor >::operator() ( const typename TPair::first_type &  lhs,
const TPair &  rhs 
) const
inline

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