DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T > Struct Template Reference

#include <DGtal/base/SetFunctions.h>

Public Member Functions

 EqualPredicateFromLessThanComparator (LessThan aCompare)
 
bool operator() (const T &t1, const T &t2) const
 

Data Fields

LessThan compare
 

Detailed Description

template<typename LessThan, typename T>
struct DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >

Definition at line 53 of file SetFunctions.h.

Constructor & Destructor Documentation

◆ EqualPredicateFromLessThanComparator()

template<typename LessThan , typename T >
DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::EqualPredicateFromLessThanComparator ( LessThan aCompare)
inline

Definition at line 55 of file SetFunctions.h.

Member Function Documentation

◆ operator()()

template<typename LessThan , typename T >
bool DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::operator() ( const T & t1,
const T & t2 ) const
inline

Definition at line 57 of file SetFunctions.h.

58 {
59 return ( ! compare( t1, t2 ) ) && ( ! compare( t2, t1 ) );
60 }

References DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::compare.

Field Documentation

◆ compare

template<typename LessThan , typename T >
LessThan DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::compare

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